Penguin
 
SDL_Show Cursor(3)
LikePages

SDL_!ShowCursor

SDL_!ShowCursor

NAME SYNOPSIS DESCRIPTION RETURN VALUE SEE ALSO


NAME

SDL_!ShowCursor- Toggle whether or not the cursor is shown on the screen.

SYNOPSIS

#include

int SDL_!ShowCursor(int toggle);

DESCRIPTION

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.

RETURN VALUE

Returns the current state of the cursor.

SEE ALSO

SDL_!CreateCursor, SDL_!SetCursor


This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.