Game Accessibility Library logo SourceForge.net Logo
Game Accessibility Suite: CATProgress::Draw
void CATProgress::Draw ( CATImage image,
const CATRect dirtyRect 
) [virtual]

Draw() draws the control into the parent's image

Parameters:
image - parent's image to draw into
dirtyRect - portion of control (in window coordinates) that requires redrawing.

Reimplemented from CATControl.

Definition at line 88 of file CATProgress.cpp.

References CATRECT::bottom, CATASSERT, CATMin(), CATPROGRESS_HORIZONTAL, CATGuiObj::fBackgroundColor, CATImage::FillRect(), CATControl::fImageDisabled, fImageOn, CATGuiObj::fRect, CATControl::GetValPercent(), CATRect::Height(), CATImage::Height(), CATRect::Intersect(), CATRECT::left, CATRect::Offset(), CATImage::Overlay(), CATRECT::right, CATRECT::top, CATRect::Width(), and CATImage::Width().


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