Function SDL_GetCursor
pub unsafe extern "C" fn SDL_GetCursor() -> *mut SDL_Cursor
Available on crate feature
dep_sdl2
only.Expand description
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_FreeCursor().
\returns the active cursor or NULL if there is no mouse.
\since This function is available since SDL 2.0.0.
\sa SDL_SetCursor