Draw() draws the control into the parent's image
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().
|