mirror of
https://github.com/go-vgo/robotgo.git
synced 2025-06-03 23:53:54 +00:00
Update screen
This commit is contained in:
parent
f147f7866a
commit
170b5eb116
@ -71,7 +71,13 @@ func SetXDisplayName(name string) string {
|
|||||||
return gstr
|
return gstr
|
||||||
}
|
}
|
||||||
|
|
||||||
func CaptureScreen(x, y, w, h C.int) Bit_map {
|
func CaptureScreen(x, y, w, h C.int) C.MMBitmapRef {
|
||||||
|
bit := C.aCaptureScreen(x, y, w, h)
|
||||||
|
Println("...", bit.width)
|
||||||
|
return bit
|
||||||
|
}
|
||||||
|
|
||||||
|
func Capture_Screen(x, y, w, h C.int) Bit_map {
|
||||||
bit := C.aCaptureScreen(x, y, w, h)
|
bit := C.aCaptureScreen(x, y, w, h)
|
||||||
// Println("...", bit)
|
// Println("...", bit)
|
||||||
bit_map := Bit_map{
|
bit_map := Bit_map{
|
||||||
|
Loading…
Reference in New Issue
Block a user