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

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

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

Implements CATWidget.

Reimplemented in CATAppButton, CATControlWnd, CATKnob, CATLabel, CATPicture, CATPictureMulti, CATProgress, CATRadioButton, CATSlider, CATSwitch, and CATSwitchMulti.

Definition at line 476 of file CATControl.cpp.

References CATASSERT, CATImage::FillRect(), CATGuiObj::fImage, fImageActive, fImageDisabled, fImageFocus, fImagePressed, CATGuiObj::fRect, CATRect::Height(), CATImage::Height(), IsActive(), IsFocused(), IsPressed(), CATRECT::left, CATRect::Offset(), CATImage::Overlay(), CATRECT::top, CATRect::Width(), and CATImage::Width().

Referenced by CATSlider::Draw(), and CATAppButton::Draw().


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