Tao.Sdl SDK Documentation |
|
Sdl.SDL_ShowCursor Method
Toggle whether or not the cursor is shown on the screen.
[Visual Basic]
Public Shared Function SDL_ShowCursor( _
ByVal
toggle As
Integer _
) As
Integer
[C#]
public static
int SDL_ShowCursor(
int toggle);
Parameters
-
toggle
-
Return Value
Remarks
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.
Binds to C-function call in SDL_mouse.h:
int SDL_ShowCursor(int toggle);
See Also
Sdl Class | Tao.Sdl Namespace | SDL_CreateCursor | SDL_SetCursor