Greetings!
I have added the following method to SDLEvent:
/**
*
* Toggle whether or not the cursor is shown on the screen.
* The cursor starts off displayed, but can be turned off.
* SDL_ShowCursor() returns true if the cursor was being displayed
* before the call, or false if it was not. You can query the current
* state by passing a 'toggle' value of -1.
*
* @return 1 if the cursor was being displayed before the call, or 0
if it was not.
*/
public static boolean showCursor(int toggle)
-Ivan/
|