Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

SDL_CreateSystemCursor - Create a system cursor.

Availability

       This function is available since SDL 3.2.0.

Function Parameters

id     an SDL_SystemCursor
               enum value.

Header File

       Defined in SDL3/SDL_mouse.h

Name

       SDL_CreateSystemCursor - Create a system cursor.

Return Value

       ( SDL_Cursor
        *) Returns a cursor on success or NULL on failure; call SDL_GetError () for more information.

See Also

(3), SDL_DestroyCursor(3)

Simple Directmedia Layer                           SDL 3.2.10                          SDL_CreateSystemCursor(3)

Synopsis

#include"SDL3/SDL.h"SDL_Cursor*SDL_CreateSystemCursor(SDL_SystemCursorid);

Thread Safety

       This function should only be called on the main thread.

See Also