SDL_CreateSystemCursor - Man Page
Create a system cursor.
Header File
Defined in SDL3/SDL_mouse.h
Synopsis
#include "SDL3/SDL.h" SDL_Cursor * SDL_CreateSystemCursor(SDL_SystemCursor id);
Function Parameters
- id
an SDL_SystemCursor
enum value.
Return Value
( SDL_Cursor
*) 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
·(3), SDL_DestroyCursor(3)
Referenced By
SDL_CreateColorCursor(3), SDL_CreateCursor(3), SDL_DestroyCursor(3).
SDL 3.2.8 Simple Directmedia Layer SDL3 FUNCTIONS