comparison docs/man3/SDL_ShowCursor.3 @ 0:74212992fb08

Initial revision
author Sam Lantinga <slouken@lokigames.com>
date Thu, 26 Apr 2001 16:45:43 +0000
parents
children 55f1f1b3e27d
comparison
equal deleted inserted replaced
-1:000000000000 0:74212992fb08
1 .TH "SDL_ShowCursor" "3" "Mon 12 Mar 2001, 01:04" "SDL" "SDL API Reference"
2 .SH "NAME"
3 SDL_ShowCursor\- Toggle whether or not the cursor is shown on the screen\&.
4 .SH "SYNOPSIS"
5 .PP
6 \fB#include "SDL\&.h"
7 .sp
8 \fBint \fBSDL_ShowCursor\fP\fR(\fBint toggle\fR);
9 .SH "DESCRIPTION"
10 .PP
11 Toggle whether or not the cursor is shown on the screen\&. Passing \fBSDL_ENABLE\fP displays the cursor and passing \fBSDL_DISABLE\fP hides it\&. The current state of the mouse cursor can be queried by passing \fBSDL_QUERY\fP, either \fBSDL_DISABLE\fP or \fBSDL_ENABLE\fP will be returned\&.
12 .PP
13 The cursor starts off displayed, but can be turned off\&.
14 .SH "RETURN VALUE"
15 .PP
16 Returns the current state of the cursor\&.
17 .SH "SEE ALSO"
18 .PP
19 \fI\fBSDL_CreateCursor\fP\fR, \fI\fBSDL_SetCursor\fP\fR
20 ...\" created by instant / docbook-to-man, Mon 12 Mar 2001, 01:04