GUILabel Class Reference

#include <glwx.h>

Inheritance diagram for GUILabel:

Inheritance graph
[legend]
Collaboration diagram for GUILabel:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 GUILabel (const std::string &labelString="Unknown Label", const std::string &callbackString="")
virtual void render (float clockTick)
virtual bool loadXMLSettings (const TiXmlElement *element)
virtual const Tuple4i & getWindowBounds ()


Detailed Description

Definition at line 673 of file glwx.h.


Constructor & Destructor Documentation

GUILabel::GUILabel ( const std::string &  labelString = "Unknown Label",
const std::string &  callbackString = "" 
)

Definition at line 3 of file GUILabel.cpp.

References GUIRectangle::setDimensions(), GUIAlphaElement::setLabelString(), GUIRectangle::widgetType, and WT_LABEL.


Member Function Documentation

void GUILabel::render ( float  clockTick  )  [virtual]

Implements GUIAlphaElement.

Definition at line 19 of file GUILabel.cpp.

References GUIRectangle::anchor, AT_CORNERLD, AT_CORNERLU, AT_CORNERRD, AT_CORNERRU, GUIRectangle::forceUpdate(), GUIRectangle::getCenter(), GUIText::getHeight(), GUIAlphaElement::label, GUIText::needUpdating(), GUIRectangle::parent, GUIText::print(), GUIText::printCenteredXY(), GUIRectangle::visible, and GUIRectangle::windowBounds.

bool GUILabel::loadXMLSettings ( const TiXmlElement *  element  )  [virtual]

Reimplemented from GUIAlphaElement.

Definition at line 11 of file GUILabel.cpp.

References GUIAlphaElement::loadXMLSettings(), and Logger::writeErrorLog().

Referenced by GUIPanel::loadXMLSettings().

const Tuple4i & GUILabel::getWindowBounds (  )  [virtual]

Reimplemented from GUIRectangle.

Definition at line 39 of file GUILabel.cpp.

References GUIText::computeDimensions(), GUIRectangle::computeWindowBounds(), GUIRectangle::dimensions, GUIRectangle::getHeight(), GUIText::getHeight(), GUIRectangle::getWidth(), GUIText::getWidth(), GUIAlphaElement::label, GUIRectangle::parent, GUIRectangle::update, and GUIRectangle::windowBounds.

Referenced by GUIComboBox::actionPerformed().


The documentation for this class was generated from the following files:
Generated on Wed Dec 5 20:32:03 2007 for GLWX by  doxygen 1.5.3