#include <csmouse.h>
Public Methods | |
| csMouse (csApp *iApp) | |
| ~csMouse () | |
| bool | HandleEvent (iEvent &Event) |
| Handle a event and return true if processed. | |
| void | Move (int x, int y) |
| Set mouse cursor position. | |
| void | GetPosition (int &x, int &y) |
| void | Show () |
| Increment mouse pointer visibility counter. More... | |
| void | Hide () |
| Decrement mouse visibility counter. | |
| bool | SetCursor (csMouseCursorID ID) |
| Set cursor by ID number; returns false if no cursor with this ID found. | |
| void | Setup () |
| Called by csApp when textures has been loaded. | |
| void | SetVirtualPosition (int x, int y) |
| Set "virtual" mouse position, i.e. show cursor at a different location. | |
Friends | |
| class | csMousePointer |
| class | csApp |
| class | csGraphicsPipeline |
p> Usually there is only one object of this class in each csApp object.
|
|
Increment mouse pointer visibility counter. When counter == 0, mouse is visible. |