mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-02-18 17:38:22 +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:
committed by
Sam Lantinga
parent
888a45977d
commit
05fb91c7b4
@@ -127,6 +127,7 @@ typedef struct
|
||||
|
||||
/* Mouse info */
|
||||
SDL_Rect confine;
|
||||
SDL_bool hide_cursor;
|
||||
|
||||
} SDLTest_CommonState;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user