AppBase::OnMouseButton

AppBase::OnMouseButton
virtual void OnMouseButton(unsigned mouseIndex, unsigned button, bool downFlag, const Point<int>& mousePos, KeyModifiers mods);
Description

OnMouseButton is called to notify application about mouse button events.

Parameters
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.