#include <glwx.h>
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 |
Definition at line 289 of file glwx.h.
GUIFont::GUIFont | ( | const std::string & | guiFontPath = "" |
) | [inline] |
GUIFont::~GUIFont | ( | ) |
Definition at line 43 of file GUIFont.cpp.
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 | ) |
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().
CFont GUIFont::font [private] |