csMouse Class Reference
[Crystal Space Windowing System]
This class handles mouse pointer and generates mouse events.
More...
#include <csmouse.h>
Public Methods | |
bool | HandleEvent (iEvent &Event) |
Handle a event and return true if processed. | |
void | Move (int x, int y) |
Set mouse cursor position. | |
void | Show () |
Increment mouse pointer visibility counter. | |
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. |
Detailed Description
This class handles mouse pointer and generates mouse events.
Usually there is only one object of this class in each csApp object.
Definition at line 67 of file csmouse.h.
Member Function Documentation
|
Handle a event and return true if processed.
|
|
Decrement mouse visibility counter.
|
|
Set mouse cursor position.
|
|
Set cursor by ID number; returns false if no cursor with this ID found.
|
|
Called by csApp when textures has been loaded.
|
|
Set "virtual" mouse position, i.e. show cursor at a different location.
|
|
Increment mouse pointer visibility counter. When counter == 0, mouse is visible. |
The documentation for this class was generated from the following file:
- csws/csmouse.h
Generated for Crystal Space by doxygen 1.2.18