Inheritance diagram for Exponent::GUI::Controls::CPresetBrowser::CPresetBrowserSelector::CPresetTextLabel:
Definition at line 221 of file CPresetBrowser.hpp.
Exponent::GUI::Controls::CPresetBrowser::CPresetBrowserSelector::CPresetTextLabel::CPresetTextLabel | ( | IControlRoot * | root, | |
const long | uniqueId, | |||
const CRect & | area, | |||
const CString & | text | |||
) |
Construction
root | The root control | |
uniqueId | The unique id of this control | |
area | The area of the control | |
text | The label to display |
virtual Exponent::GUI::Controls::CPresetBrowser::CPresetBrowserSelector::CPresetTextLabel::~CPresetTextLabel | ( | ) | [virtual] |
Destruction
virtual void Exponent::GUI::Controls::CPresetBrowser::CPresetBrowserSelector::CPresetTextLabel::drawControl | ( | CGraphics & | graphics | ) | [virtual] |
Draw the controls
graphics | The graphics context |
Reimplemented from Exponent::GUI::Controls::CTextLabel.
long Exponent::GUI::Controls::CPresetBrowser::CPresetBrowserSelector::CPresetTextLabel::getSelectionState | ( | ) | const |
Get the selection state
long | 0 = not selected |
const CString& Exponent::GUI::Controls::CPresetBrowser::CPresetBrowserSelector::CPresetTextLabel::getText | ( | ) | const [inline] |
Get the string
const | CString& The text being displayed |
Reimplemented from Exponent::GUI::Controls::CTextLabel.
Definition at line 285 of file CPresetBrowser.hpp.
References Exponent::GUI::Controls::CTextLabel::m_text.
virtual void Exponent::GUI::Controls::CPresetBrowser::CPresetBrowserSelector::CPresetTextLabel::handleDoubleClick | ( | CMouseEvent & | event | ) | [virtual] |
Handle a double click
event | The event to handle |
Reimplemented from Exponent::GUI::Controls::CControl.
virtual void Exponent::GUI::Controls::CPresetBrowser::CPresetBrowserSelector::CPresetTextLabel::handleLeftButtonDown | ( | CMouseEvent & | event | ) | [virtual] |
Handle left button being clicked
event | The event to handle |
Reimplemented from Exponent::GUI::Controls::CControl.
void Exponent::GUI::Controls::CPresetBrowser::CPresetBrowserSelector::CPresetTextLabel::selectLabel | ( | const bool | selected = true |
) |
Select this control
selected | If true control is drawn selected, if false is drawn unselected |
bool Exponent::GUI::Controls::CPresetBrowser::CPresetBrowserSelector::CPresetTextLabel::m_load [protected] |
Should we load
Definition at line 294 of file CPresetBrowser.hpp.
bool Exponent::GUI::Controls::CPresetBrowser::CPresetBrowserSelector::CPresetTextLabel::m_selected [protected] |
Are we the selected control
Definition at line 293 of file CPresetBrowser.hpp.