Game Accessibility Library logo SourceForge.net Logo
Game Accessibility Suite: CATControl::TrackMouseDown
void CATControl::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 in CATKnob, and CATSlider.

Definition at line 788 of file CATControl.cpp.

References fActive, fPressed, and CATWidget::MarkDirty().

Referenced by CATWindow::OnMouseDown(), CATSlider::TrackMouseDown(), and CATKnob::TrackMouseDown().


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