Draw() draws the control into the parent's image
Reimplemented from CATControl. Reimplemented in CATRadioButton. Definition at line 123 of file CATSwitch.cpp. References CATASSERT, CATGuiObj::fBackgroundColor, CATImage::FillRect(), CATGuiObj::fImage, CATControl::fImageActive, fImageActiveOn, CATControl::fImageDisabled, fImageDisabledOn, CATControl::fImageFocus, fImageFocusOn, fImageOn, CATControl::fImagePressed, fImagePressedOn, CATGuiObj::fRect, CATControl::fValue, CATRect::Height(), CATImage::Height(), CATControl::IsActive(), CATControl::IsFocused(), CATControl::IsPressed(), CATRECT::left, CATRect::Offset(), CATImage::Overlay(), CATRECT::top, CATRect::Width(), and CATImage::Width().
|