MyGUI  3.0.1
Public Member Functions | Static Public Member Functions
MyGUI::FontManager Class Reference

#include <MyGUI_FontManager.h>

Public Member Functions

 FontManager ()
 ~FontManager ()
void initialise ()
void shutdown ()
bool load (const std::string &_file)
void _load (xml::ElementPtr _node, const std::string &_file, Version _version)
const std::string & getDefaultFont () const
void setDefaultFont (const std::string &_value)
IFontgetByName (const std::string &_name) const

Static Public Member Functions

static FontManagergetInstance ()
static FontManagergetInstancePtr ()

Detailed Description

Definition at line 36 of file MyGUI_FontManager.h.

Constructor & Destructor Documentation

MyGUI::FontManager::FontManager ( )
MyGUI::FontManager::~FontManager ( )

Member Function Documentation

void MyGUI::FontManager::_load ( xml::ElementPtr  _node,
const std::string &  _file,
Version  _version 
)

Definition at line 75 of file MyGUI_FontManager.cpp.

IFont * MyGUI::FontManager::getByName ( const std::string &  _name) const

Get font resource

Definition at line 206 of file MyGUI_FontManager.cpp.

const std::string& MyGUI::FontManager::getDefaultFont ( ) const
inline

Definition at line 48 of file MyGUI_FontManager.h.

static FontManager& MyGUI::FontManager::getInstance ( )
static
static FontManager* MyGUI::FontManager::getInstancePtr ( )
static
void MyGUI::FontManager::initialise ( )

Definition at line 40 of file MyGUI_FontManager.cpp.

bool MyGUI::FontManager::load ( const std::string &  _file)

Load additional MyGUI *_font.xml file

Definition at line 70 of file MyGUI_FontManager.cpp.

void MyGUI::FontManager::setDefaultFont ( const std::string &  _value)

Definition at line 201 of file MyGUI_FontManager.cpp.

void MyGUI::FontManager::shutdown ( )

Definition at line 56 of file MyGUI_FontManager.cpp.


The documentation for this class was generated from the following files: