![]() |
Public API Reference |
#include <csmouse.h>
Public Methods | |
bool | HandleEvent (iEvent &Event) |
Handle a event and return true if processed. More... | |
void | Move (int x, int y) |
Set mouse cursor position. More... | |
void | Show () |
Increment mouse pointer visibility counter. More... | |
void | Hide () |
Decrement mouse visibility counter. More... | |
bool | SetCursor (csMouseCursorID ID) |
Set cursor by ID number; returns false if no cursor with this ID found. More... | |
void | Setup () |
Called by csApp when textures has been loaded. More... | |
void | SetVirtualPosition (int x, int y) |
Set "virtual" mouse position, i.e. show cursor at a different location. More... | |
Friends | |
class | csMousePointer |
class | csApp |
class | csGraphicsPipeline |
Usually there is only one object of this class in each csApp object.
Definition at line 67 of file csmouse.h.
|
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. |