GUIFont Class Reference

#include <glwx.h>

Inheritance diagram for GUIFont:

Inheritance graph
Collaboration diagram for GUIFont:

Collaboration graph

List of all members.

Public Member Functions

 GUIFont (const std::string &guiFontPath="")
 ~GUIFont ()
CFont * getFontObject ()
bool operator== (const GUIFont &compare)
bool operator!= (const GUIFont &compare)
bool loadXMLSettings (const TiXmlElement *node)
bool build ()

Private Attributes

CFont font

Detailed Description

Definition at line 289 of file glwx.h.

Constructor & Destructor Documentation

GUIFont::GUIFont ( const std::string &  guiFontPath = ""  )  [inline]

Definition at line 292 of file glwx.h.

GUIFont::~GUIFont (  ) 

Definition at line 43 of file GUIFont.cpp.

Member Function Documentation

CFont * GUIFont::getFontObject (  ) 

Definition at line 28 of file GUIFont.cpp.

References font.

Referenced by GUIText::computeDimensions(), GUIComboBox::finalizeSize(), GUIFontManager::getCharacterWidth(), GUITextBox::GUITextBox(), GUIText::print(), GUITextBox::setupBlinker(), and GUITextBox::setupText().

bool GUIFont::operator== ( const GUIFont compare  ) 

Definition at line 33 of file GUIFont.cpp.

References NamedObject::getName(), and NamedObject::name.

Referenced by operator!=().

bool GUIFont::operator!= ( const GUIFont compare  ) 

Definition at line 38 of file GUIFont.cpp.

References operator==().

bool GUIFont::loadXMLSettings ( const TiXmlElement *  node  ) 

Definition at line 11 of file GUIFont.cpp.

References MediaPathManager::lookUpMediaPath(), NamedObject::setName(), and Logger::writeErrorLog().

Referenced by GUIFontManager::addFont().

bool GUIFont::build (  ) 

Definition at line 3 of file GUIFont.cpp.

References font, NamedObject::getName(), and Logger::writeErrorLog().

Referenced by GUIFontManager::addFont().

Member Data Documentation

CFont GUIFont::font [private]

Definition at line 305 of file glwx.h.

Referenced by build(), and getFontObject().

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