virtual void OnMouseButton(unsigned mouseIndex, unsigned button, bool downFlag, const Point<int>& mousePos, KeyModifiers mods);
OnMouseButton is called to notify application about mouse button events.
Parameters |
Description |
unsigned mouseIndex |
The index of the mouse button. |
unsigned button |
The mouse button that was pressed. |
bool downFlag |
Flag to indicate the mouse button is down. |
const Point<int>& mousePos |
The coordinates indicating the mouse button position. |
KeyModifiers mods |
The modifier key. |