how to show and hide the mouse cursor

rekotc

15-07-2010 22:55:24

im sure it's possible using the mouseDescriptor but i still cant do it, every time i run my application the cursor shows up with a default skin, i'd like to hide it until i press the menu button but i cant undestand how to do it, thanks :)

kungfoomasta

15-07-2010 23:19:36

originally the mouse cursor was a stand alone object, but I recently made it owned by the sheet. The sheet has the APIs and desc properties to enable/hide the mouse cursor. This way you could load a sheet for a specific game state, like playing a movie, and have the mouse cursor hidden by default.

rekotc

15-07-2010 23:38:33

thanks :) i found it
mySheet->setMouseCursorVisible(showCursor);