Header Ads Widget

[MAN] SDL_ShowCursor

Content-type: text/html; charset=UTF-8 Man page of SDL_ShowCursor

SDL_ShowCursor

Section: SDL API Reference (3)
Updated: Tue 11 Sep 2001, 23:01
Index Return to Main Contents
 

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


 

Index

NAME
SYNOPSIS
DESCRIPTION
RETURN VALUE
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 04:45:39 GMT, September 16, 2022

댓글 쓰기

0 댓글