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
Referenced By
SDL_CreateColorCursor(3), SDL_CreateCursor(3), SDL_DestroyCursor(3).
SDL 3.2.16 Simple Directmedia Layer SDL3 FUNCTIONS