SDL_CreateSystemCursor - Man Page
Create a system cursor.
Synopsis
#include <SDL3/SDL_mouse.h> SDL_Cursor * SDL_CreateSystemCursor(SDL_SystemCursor id);
Function Parameters
- id
an SDL_SystemCursor enum value.
Return Value
Returns a cursor on success or NULL on failure; call SDL_GetError() for more information.
Thread Safety
This function should only be called on the main thread.
Availability
This function is available since SDL 3.2.0.
See Also
Info
SDL 3.4.20 Simple Directmedia Layer SDL3 FUNCTIONS