DOKK / manpages / debian 12 / libsdl1.2-dev / SDL_ShowCursor.3.en
SDL_ShowCursor(3) SDL API Reference SDL_ShowCursor(3)

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

#include "SDL.h"

int SDL_ShowCursor(int toggle);

Toggle whether or not the cursor is shown on the screen. Passing SDL_ENABLE displays the cursor and passing SDL_DISABLE hides it. The current state of the mouse cursor can be queried by passing SDL_QUERY, either SDL_DISABLE or SDL_ENABLE will be returned.

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

Returns the current state of the cursor.

SDL_CreateCursor, SDL_SetCursor

Tue 11 Sep 2001, 23:01 SDL