The mouse event callbacks.
More...
#include <ceMouse.h>
List of all members.
Detailed Description
The mouse event callbacks.
- Note:
- To recieve the cursor positions and buffered mouse input, derive a class from this, and implement the methods here. Then set the callback to your mouse instance with IMouseDevice::SetMouseEvent().
- See also:
- IMouseDevice
Member Function Documentation
virtual void OnButtonPressed |
( |
const IMouseDevice * |
Owner, |
|
|
const int |
button, |
|
|
const SMouseState & |
State | |
|
) |
| | [pure virtual] |
This callback is called when a button is pressed.
- Parameters:
-
| Owner | The mouse manager owner. |
| button | The button was pressed. |
| State | The mouse state. |
- See also:
- OnButtonReleased, OnMouseEvent
virtual void OnButtonReleased |
( |
const IMouseDevice * |
Owner, |
|
|
const int |
button, |
|
|
const SMouseState & |
State | |
|
) |
| | [pure virtual] |
This callback is called when a button is released.
- Parameters:
-
| Owner | The mouse manager owner. |
| button | The button was released. |
| State | The mouse state. |
- See also:
- OnButtonPressed, OnMouseEvent
This callback is always called, when the cursor is moved or while is keep pressed any button.
- Parameters:
-
| Owner | The mouse manager owner. |
| State | The mouse state. |
- See also:
- OnButtonPressed, OnButtonReleased
The documentation for this class was generated from the following file: