table of contents
other versions
- bookworm 1.2.15+dfsg2-8
- experimental 3.1.0+ds-1
SDL_GetCursor(3) | SDL3 FUNCTIONS | SDL_GetCursor(3) |
NAME¶
SDL_GetCursor - Get the active cursor.
SYNOPSIS¶
#include "SDL3/SDL.h"
SDL_Cursor* SDL_GetCursor(void);
DESCRIPTION¶
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 ().
RETURN VALUE¶
Returns the active cursor or NULL if there is no mouse.
AVAILABILITY¶
This function is available since SDL 3.0.0.
SEE ALSO¶
SDL 3.1.0 | SDL |