19 lines
309 B
C++
19 lines
309 B
C++
#pragma once
|
|
|
|
class UITTFFont
|
|
{
|
|
private:
|
|
const string m_strFontName;
|
|
|
|
PBYTE pbData;
|
|
bool m_loaded;
|
|
//DWORD dwDataSize;
|
|
|
|
public:
|
|
UITTFFont(const string &name, const string &path, S32 fallbackCharacter, bool registerAsDefaultFonts = true);
|
|
~UITTFFont();
|
|
|
|
string getFontName();
|
|
bool isLoaded() const;
|
|
};
|