Re: [sdljava-users] showCursor() method added to SDLEvent
Status: Beta
Brought to you by:
ivan_ganza
From: Robert S. <the...@gm...> - 2006-02-09 06:50:21
|
Great! Using this way I can remove the ugly cursor on my GP2X[0]. :) cya Robert [0] - http://gp2x.co.uk/ Ivan Z. Ganza wrote: > 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/ > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log > files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 > _______________________________________________ > sdljava-users mailing list > sdl...@li... > https://lists.sourceforge.net/lists/listinfo/sdljava-users > > |