My Project
|
Manager for fonts. More...
#include <FontManager.h>
Public Member Functions | |
SallyAPI::Core::CFont * | GetFontByName (const std::string &fontName) |
Gets a font by name. | |
bool | RemoveFontByName (const std::string &fontName) |
Removes the font by name described by fontName. | |
bool | RemoveFontByFont (SallyAPI::Core::CFont *font) |
Removes the font by font described by font. | |
bool | OnLostDevice () |
Executes the lost device action. | |
bool | OnResetDevice () |
Executes the reset device action. | |
void | Reload () |
Reloads this object. | |
Static Public Member Functions | |
static SallyAPI::Core::CFontManager * | GetInstance () |
Gets the instance. | |
static void | DeleteInstance () |
Deletes an instance. |
Manager for fonts.
void CFontManager::DeleteInstance | ( | ) | [static] |
Deletes an instance.
SallyAPI::Core::CFont * CFontManager::GetFontByName | ( | const std::string & | fontName | ) |
Gets a font by name.
fontName | Name of the font. |
CFontManager * CFontManager::GetInstance | ( | ) | [static] |
Gets the instance.
bool CFontManager::OnLostDevice | ( | ) |
Executes the lost device action.
bool CFontManager::OnResetDevice | ( | ) |
Executes the reset device action.
void CFontManager::Reload | ( | ) |
Reloads this object.
bool CFontManager::RemoveFontByFont | ( | SallyAPI::Core::CFont * | font | ) |
Removes the font by font described by font.
[in,out] | font | If non-null, the font. |
bool CFontManager::RemoveFontByName | ( | const std::string & | fontName | ) |
Removes the font by name described by fontName.
fontName | Name of the font. |