mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-05-15 09:18:27 +00:00
TESTWM : Option and Keyboard action to ShowCursor and HideCursor
In include/SDL3/SDL_test_common.h Add flag hide_cursor In src/test/SDL_test_common.c Handle option --hide-cursor to SDL_HideCursor Handle Ctrl-h toggle to SDL_HideCursor and SDL_ShowCursor
This commit is contained in:
parent
888a45977d
commit
05fb91c7b4
2 changed files with 20 additions and 2 deletions
|
@ -127,6 +127,7 @@ typedef struct
|
|||
|
||||
/* Mouse info */
|
||||
SDL_Rect confine;
|
||||
SDL_bool hide_cursor;
|
||||
|
||||
} SDLTest_CommonState;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue