#include <ggui/gui_label.h>
Public Member Functions | |
tcGuiLabel (const char *name, tcBench *bench, int idd, uint32 type=OBJTYPE_LABEL) | |
~tcGuiLabel () | |
virtual bool | ParseXML (TiXmlElement *ahDom) |
void | create () |
virtual bool | does_l_mouse () |
void | draw (tcGuiDspDisplay &pd) |
The tcGuiLabel class is derived tcGuiObject class implementing a simple text label.
tcGuiLabel::tcGuiLabel | ( | const char * | name, | |
tcBench * | bench, | |||
int | idd, | |||
uint32 | type = OBJTYPE_LABEL | |||
) |
Constructor
name | Object ID name from the XML file. | |
bench | The Controlling tcBench object for this widget. | |
name | The windows control ID that we assigned to this control. |
tcGuiLabel::~tcGuiLabel | ( | ) |
Destructor
bool tcGuiLabel::ParseXML | ( | TiXmlElement * | apElement | ) | [virtual] |
Parse common XML elements from the DOM.
Reimplemented from MityDSP::tcGuiObject.
void tcGuiLabel::create | ( | ) | [virtual] |
This function creates the label control.
Reimplemented from MityDSP::tcGuiObject.
virtual bool MityDSP::tcGuiLabel::does_l_mouse | ( | ) | [inline, virtual] |
Reimplemented from MityDSP::tcGuiObject.
void tcGuiLabel::draw | ( | tcGuiDspDisplay & | pd | ) | [virtual] |
This function draws the label.
pd | reference to painting device context to render into. |
Reimplemented from MityDSP::tcGuiObject.