Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
SDL_ShowCursor(3)		SDL API Reference	       SDL_ShowCursor(3)

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. 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

SDL			     Tue 11 Sep 2001, 23:01	       SDL_ShowCursor(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=SDL_ShowCursor&sektion=3&manpath=FreeBSD+Ports+15.1.quarterly>

home | help