createSystem static method

Pointer<SdlCursor> createSystem(
  1. int id
)

Create a system cursor.

\param id an SDL_SystemCursor enum value. \returns a cursor on success or NULL on failure; call SDL_GetError() for more information.

\threadsafety This function should only be called on the main thread.

\since This function is available since SDL 3.2.0.

\sa SDL_DestroyCursor

extern SDL_DECLSPEC SDL_Cursor * SDLCALL SDL_CreateSystemCursor(SDL_SystemCursor id)

{@category mouse}

Implementation

static Pointer<SdlCursor> createSystem(int id) => sdlCreateSystemCursor(id);