Sort functions

This commit is contained in:
Milan Nikolic 2021-05-25 19:07:51 +02:00
parent 47e7d1baea
commit 93ec54f81f
No known key found for this signature in database
GPG key ID: 9229D0EAA3AA4E75
3 changed files with 19 additions and 7 deletions

View file

@ -46,6 +46,13 @@ func IsCursorHidden() bool {
return v
}
// IsCursorOnScreen - Check if cursor is on the current screen.
func IsCursorOnScreen() bool {
ret := C.IsCursorOnScreen()
v := bool(ret)
return v
}
// EnableCursor - Enables cursor
func EnableCursor() {
C.EnableCursor()
@ -90,10 +97,3 @@ func OpenAsset(name string) (Asset, error) {
}
return f, nil
}
// IsCursorOnScreen - Check if cursor is on the current screen.
func IsCursorOnScreen() bool {
ret := C.IsCursorOnScreen()
v := bool(ret)
return v
}