Game Accessibility Library logo SourceForge.net Logo
Game Accessibility Suite: CATKnob::TrackMouseRelease
void CATKnob::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 from CATControl.

Definition at line 102 of file CATKnob.cpp.

References CATKNOB_CIRCLE, CATKNOB_VERTICAL, CATControl::fActive, CATControl::fCursor, fCursorHidden, CATControl::fPressed, fStartPoint, GetActiveStyle(), CATControl::GetWindow(), CATWidget::MarkDirty(), CATControl::OnMouseClick(), CATWindow::OSSetCursor(), CATWindow::OSSetMouse(), CATControl::ResetCursorToDefault(), and CATWindow::WidgetToWindow().


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