SDL_GetCursor

Get the active cursor.

This function returns a pointer to the current cursor which is owned by the library. It is not necessary to free the cursor with SDL_DestroyCursor().

extern (C) nothrow @nogc extern
SDL_GetCursor
()

Return Value

Type: SDL_Cursor*

The active cursor or NULL if there is no mouse.

Threadsafety: This function should only be called on the main thread.

See Also

Meta