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)
Reimplemented in CATKnob, and CATSlider. Definition at line 795 of file CATControl.cpp. References fActive, fPressed, CATWidget::MarkDirty(), and OnMouseClick(). Referenced by CATWindow::OnMouseUp().
|