mirror of
https://github.com/go-vgo/robotgo.git
synced 2025-06-03 07:33:55 +00:00
Update screen
This commit is contained in:
parent
998ddd3bc0
commit
3e5fdef97c
@ -71,7 +71,13 @@ func SetXDisplayName(name string) string {
|
||||
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)
|
||||
// Println("...", bit)
|
||||
bit_map := Bit_map{
|
||||
|
Loading…
Reference in New Issue
Block a user