UGDK
|
#include <textmanager.h>
Public Member Functions | |
TextManager () | |
~TextManager () | |
bool | Initialize () |
bool | Release () |
Text * | GetText (const std::wstring &text) |
Text * | GetText (const std::wstring &text, const std::string &font, int width=-1) |
Text * | GetTextFromFile (const std::string &path) |
Text * | GetTextFromFile (const std::string &path, const std::string &font, int width=-1) |
void | AddFont (const std::string &name, const std::string &path, int size, char ident, bool fancy) |
ugdk::graphic::TextManager::TextManager | ( | ) | [inline] |
void ugdk::graphic::TextManager::AddFont | ( | const std::string & | name, |
const std::string & | path, | ||
int | size, | ||
char | ident, | ||
bool | fancy | ||
) |
Text * ugdk::graphic::TextManager::GetText | ( | const std::wstring & | text | ) |
Text * ugdk::graphic::TextManager::GetText | ( | const std::wstring & | text, |
const std::string & | font, | ||
int | width = -1 |
||
) |
Text * ugdk::graphic::TextManager::GetTextFromFile | ( | const std::string & | path | ) |
Text * ugdk::graphic::TextManager::GetTextFromFile | ( | const std::string & | path, |
const std::string & | font, | ||
int | width = -1 |
||
) |
bool ugdk::graphic::TextManager::Release | ( | ) |