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

TrackMouseRelease() is called when a button is released

IF the release is within the control, then it should generally register a mouse click by calling OnMouseClicked().

The control should also set its state to unpressed, but active if the mouse is within the control (these are the default actions)

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

Reimplemented in CATKnob, and CATSlider.

Definition at line 795 of file CATControl.cpp.

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

Referenced by CATWindow::OnMouseUp().


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