[sdljava-users] showCursor() method added to SDLEvent
Status: Beta
Brought to you by:
ivan_ganza
From: Ivan Z. G. <iva...@ya...> - 2006-02-09 02:20:54
|
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/ |