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.1.3.

\sa SDL_DestroyCursor

extern SDL_DECLSPEC SDL_Cursor * SDLCALL SDL_CreateSystemCursor(SDL_SystemCursor id)

Implementation

static Pointer<SdlCursor> createSystem(int id) {
  return sdlCreateSystemCursor(id);
}