Game Accessibility Library logo SourceForge.net Logo
Game Accessibility Suite: CATControl::OnMouseWheel
void CATControl::OnMouseWheel ( const CATPOINT point,
CATFloat32  wheelMove,
CATMODKEY  modKey 
) [virtual]

OnMouseWheel() is called when the mouse wheel is moved over control, but the mouse is not already tracked - this is the usual case.

The mouse wheel movement is set to where each 'notch' should be about 1.0 coming in from the OS. Positive values are 'up' or away from the user, negative values are down or towards the user.

Parameters:
point - location of the mouse pointer when the wheel is moved
wheelMove - distance moved
modKey - Key state modifiers for ctrl/shift/alt/etc.

Reimplemented in CATKnob, and CATSlider.

Definition at line 815 of file CATControl.cpp.

Referenced by CATWindow::OnMouseWheel().


Generated on Mon Feb 11 04:10:22 2008 for Game Accessibility Suite by doxygen 1.5.4