mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
sokol: add mouse cursor support (#15111)
This commit is contained in:
@@ -44,6 +44,9 @@ fn C.sapp_show_mouse(visible bool)
|
||||
// return true if the mouse cursor is shown
|
||||
fn C.sapp_mouse_shown() bool
|
||||
|
||||
// set mouse cursor
|
||||
fn C.sapp_set_mouse_cursor(cursor MouseCursor)
|
||||
|
||||
// lock or unlock the mouse cursor
|
||||
fn C.sapp_lock_mouse(locked bool)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user