Game Accessibility Library logo SourceForge.net Logo
Game Accessibility Suite: CATWidget::MarkDirty
virtual void CATWidget::MarkDirty ( CATRect dirtyRect = 0,
bool  force = false 
) [inline, virtual]

MarkDirty() marks the control as dirty (needing to be redrawn)

Parameters:
dirtyRect - if specified, marks only part of the rectangle as dirty. Should be in window coordinates - i.e. 0,0 is top left in window, not control.
force - if true, invalidates rect even if control is not visible. This should be done when initially hiding a control. The rest of the time though, if a control already wasn't visible, it shouldn't cause an invalidation of the area its in when it changes.

Reimplemented from CATGuiObj.

Reimplemented in CATControlWnd.

Definition at line 47 of file CATWidget.h.

References CATGuiObj::fRect, CATGuiObj::GetRect(), CATRECT::left, CATRect::Offset(), and CATRECT::top.

Referenced by CATControlWnd::MarkDirty(), CATControl::OnEvent(), CATSlider::OnKeyDown(), CATKnob::OnKeyDown(), CATControl::OnKeyDown(), CATControl::OnKeyUp(), CATSlider::OnMouseDoubleClick(), CATKnob::OnMouseDoubleClick(), CATSlider::OnMouseWheel(), CATKnob::OnMouseWheel(), CATControl::ResetValue(), CATControl::SetActive(), CATControl::SetColorBack(), CATControl::SetColorBackDisabled(), CATControl::SetColorFore(), CATControl::SetColorForeDisabled(), CATMenu::SetCurItem(), CATTab::SetCurTab(), CATControl::SetFocused(), CATProgress::SetImages(), CATMenu::SetItalics(), CATControl::SetMinMax(), CATMenu::SetString(), CATLabel::SetString(), CATControl::SetValue(), CATControl::TrackMouseDown(), CATSlider::TrackMouseMove(), CATKnob::TrackMouseMove(), CATControl::TrackMouseMove(), CATSlider::TrackMouseRelease(), CATKnob::TrackMouseRelease(), CATControl::TrackMouseRelease(), CATSlider::TrackMouseTimer(), and CATKnob::TrackMouseTimer().


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