Game Accessibility Library logo SourceForge.net Logo
Game Accessibility Suite: CATKnob::TrackMouseDown
void CATKnob::TrackMouseDown ( const CATPOINT point,
CATMODKEY  modKey 
) [virtual]

TrackMouseDown() is called when a button is pressed inside the control.

Generally, this should toggle the control into a pressed state, but not register a click or anything yet until TrackMouseRelease() is released within the same control.

After TrackMouseDown() is called, the control will begin receiving TrackMouseMove() calls if the mouse pointer is moved.

Parameters:
point - location the mouse was pressed
modKey - Key state modifiers for ctrl/shift/alt/etc.

Reimplemented from CATControl.

Definition at line 67 of file CATKnob.cpp.

References CATCURSOR_HIDE, CATKNOB_CIRCLE, CATKNOB_VERTICAL, CATControl::fCursor, fCursorHidden, fFilter, fFilterCoef, fLastMove, fLastPoint, CATControl::fPressed, fStartPoint, GetActiveStyle(), CATControl::GetWindow(), CATWindow::OSSetMouse(), CATFilter::Reset(), CATFilterEWMA::SetCoefficient(), CATCursor::SetType(), SetValueFromPoint(), CATControl::TrackMouseDown(), and CATWindow::WidgetToWindow().


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