1SDL_ShowCursor(3) SDL API Reference SDL_ShowCursor(3)
2
3
4
6 SDL_ShowCursor - Toggle whether or not the cursor is shown on the
7 screen.
8
10 #include "SDL.h"
11
12 int SDL_ShowCursor(int toggle);
13
15 Toggle whether or not the cursor is shown on the screen. Passing
16 SDL_ENABLE displays the cursor and passing SDL_DISABLE hides it. The
17 current state of the mouse cursor can be queried by passing SDL_QUERY,
18 either SDL_DISABLE or SDL_ENABLE will be returned.
19
20 The cursor starts off displayed, but can be turned off.
21
23 Returns the current state of the cursor.
24
26 SDL_CreateCursor, SDL_SetCursor
27
28
29
30SDL Tue 11 Sep 2001, 23:01 SDL_ShowCursor(3)