1
0
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:
Mehmet Ali
2022-07-18 09:44:48 +03:00
committed by GitHub
parent c1502b3c1f
commit 12d57e8e7b
6 changed files with 344 additions and 37 deletions

View File

@@ -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)