virtual void OnMouseWheel(unsigned mouseIndex, float zdelta, const Point<int>& mousePos, KeyModifiers mods);
OnMouseWheel is invoked for mouse wheel support. Mouse wheel delta is provided in units of scrolling, with a positive value indicating an up direction.
Parameters |
Description |
unsigned mouseIndex |
The index of the mouse button. |
float zdelta |
Delta for mouse wheel. |
const Point<int>& mousePos |
The coordinates indicating the mouse position. |
KeyModifiers mods |
The modifier key. |