#include <Font.h>
Public Member Functions |
| Font (const u32 Handle, const char *FileName, const char *Name, sn::SceneManager *pSnmgr) |
| Constructor.
|
virtual | ~Font () |
| Destructor.
|
virtual bool | Init () |
| Loads and create font characters.
|
| Resource (const u32 Handle, const char *FileName, const char *Name, void *ExtraParam) |
| Constructor.
|
virtual | ~Resource () |
| Destructor.
|
virtual const char * | GetFileName () |
| Return resource file name.
|
virtual const char * | GetName () |
| Return resource name.
|
virtual u32 | GetHandle () |
| Return resource handle.
|
| KgeUnknown () |
| Constructor.
|
virtual | ~KgeUnknown () |
| Destructor.
|
virtual void | AddRef () |
| Add a reference to the object.
|
virtual void | DecRef () |
| Decrease a reference from the object. if its reference count get 0 then the object will destroy.
|
u32 | GetRefCount () |
| Return resource reference count.
|
const char * | GetDebugText () |
| returns the instance debug text.
|
Detailed Description
Definition at line 27 of file Font.h.
Constructor & Destructor Documentation
kge::gui::Font::Font |
( |
const u32 |
Handle, |
|
|
const char * |
FileName, |
|
|
const char * |
Name, |
|
|
sn::SceneManager * |
pSnmgr |
|
) |
| |
virtual kge::gui::Font::~Font |
( |
| ) |
|
|
virtual |
Member Function Documentation
virtual bool kge::gui::Font::Init |
( |
| ) |
|
|
virtual |
Loads and create font characters.
Friends And Related Function Documentation
Member Data Documentation
int kge::gui::Font::m_iBase |
|
protected |
int kge::gui::Font::m_iCharsCount |
|
protected |
int kge::gui::Font::m_iHeight |
|
protected |
int kge::gui::Font::m_iLineHeight |
|
protected |
int kge::gui::Font::m_iPages |
|
protected |
int kge::gui::Font::m_iWidth |
|
protected |
std::map<int, Char*> kge::gui::Font::m_mChars |
|
protected |
Char* kge::gui::Font::m_pChars |
|
protected |
char* kge::gui::Font::m_pTextureFileName |
|
protected |
The documentation for this class was generated from the following file:
- E:/mycodes/git/kge/Include/gui/Font.h