SDL_ShowCursor

Name

SDL_ShowCursor -- Toggle whether or not the cursor is shown on the screen.

Synopsis

#include "SDL.h"

int SDL_ShowCursor(int toggle);

Description

Toggle whether or not the cursor is shown on the screen.

The cursor starts off displayed, but can be turned off.

Return Value

SDL_ShowCursor returns 1 if the cursor was being displayed before the call, or 0 if it was not.

See Also

SDL_CreateCursor, SDL_SetCursor