mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
generate screenshot using Xlib.
This commit is contained in:
@ -1,5 +1,9 @@
|
||||
package types
|
||||
|
||||
import (
|
||||
"image"
|
||||
)
|
||||
|
||||
type CursorImage struct {
|
||||
Width uint16
|
||||
Height uint16
|
||||
@ -53,6 +57,7 @@ type DesktopManager interface {
|
||||
SetKeyboardModifiers(mod KeyboardModifiers)
|
||||
GetKeyboardModifiers() KeyboardModifiers
|
||||
GetCursorImage() *CursorImage
|
||||
GetScreenshotImage() *image.RGBA
|
||||
|
||||
// xevent
|
||||
OnCursorChanged(listener func(serial uint64))
|
||||
|
Reference in New Issue
Block a user