Inheritance diagram for Exponent::GUI::Controls::CTriStateImage:
Definition at line 32 of file CTriStateImage.hpp.
Exponent::GUI::Controls::CTriStateImage::CTriStateImage | ( | IControlRoot * | root, | |
const long | uniqueId, | |||
const CRect & | area | |||
) |
Construction
root | The root control that this control is being added to | |
uniqueId | The unique Identifier of this control or CCONTROL_NO_ID_REQUIRED if no id is required | |
area | The area of this control relative to the root controls top left |
virtual Exponent::GUI::Controls::CTriStateImage::~CTriStateImage | ( | ) | [virtual] |
Destruction
virtual void Exponent::GUI::Controls::CTriStateImage::drawControl | ( | CGraphics & | graphics | ) | [virtual] |
Draw the controls
graphics | The graphics context |
Reimplemented from Exponent::GUI::Controls::CControl.
void Exponent::GUI::Controls::CTriStateImage::setImages | ( | IImage * | image1, | |
IImage * | image2, | |||
IImage * | image3 | |||
) |
Set the handle images
image1 | Image state 1 | |
image2 | Image state 2 | |
image3 | Image state 3 |
void Exponent::GUI::Controls::CTriStateImage::setState | ( | const long | state | ) |
Set the state
state | The state to display (0, 1 or 2) |
long Exponent::GUI::Controls::CTriStateImage::m_currentState [protected] |
The current state
Definition at line 89 of file CTriStateImage.hpp.
IImage* Exponent::GUI::Controls::CTriStateImage::m_images[3] [protected] |
The three images
Definition at line 88 of file CTriStateImage.hpp.