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

OnMouseWheel() is called when the mouse wheel is turned.

If the mouse is over a control, then this function typically calls the control's TrackMouseWheel() function.

Parameters:
point - location of mouse poitner
wheelMove - amount of wheel movement. Currently, 1 notch should be about 1.0 in distance. Positive is 'forward' or away from the user, negative is backwards or towards the user.
modKey - Key state modifiers for ctrl/shift/alt/etc.

Definition at line 1014 of file CATWindow.cpp.

References fMouseTrackTarget, CATGuiObj::GetHint(), CATControl::HitTest(), CATControl::OnMouseWheel(), OSShowToolTip(), OSUpdateToolTip(), SetStatusBarHint(), CATControl::TrackMouseWheel(), and WindowToWidget().


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