hint for which system cursor to use as default

Co-Authored-By: Sam Lantinga <slouken@libsdl.org>
This commit is contained in:
expikrandSam Lantinga authored and Sam Lantinga committed 2024-11-25 13:08:37 -08:00
1 parent 3c13bae64f
commit d55e6dfc5e
10 files changed
+54 -34

No files matched your search

+11
View File
@@ -2401,6 +2401,17 @@ extern "C" {
*/
#define SDL_HINT_MOUSE_DOUBLE_CLICK_TIME "SDL_MOUSE_DOUBLE_CLICK_TIME"
/**
* A variable setting which system cursor to use as the default cursor.
* This should be an integer corresponding to the SDL_SystemCursor enum.
* The default value is zero (SDL_SYSTEM_CURSOR_DEFAULT).
*
* This hint needs to be set before SDL_Init().
*
* \since This hint is available since SDL 3.1.3.
*/
#define SDL_HINT_MOUSE_DEFAULT_SYSTEM_CURSOR "SDL_MOUSE_DEFAULT_SYSTEM_CURSOR"
/**
* A variable controlling whether warping a hidden mouse cursor will activate
* relative mouse mode.