#include <Text.h>
Public Member Functions |
| | Text (core::RectI rect, gfx::Renderer *pRenderer, const wchar_t *text, int FontSize, Font *pFont) |
| | Constructor.
|
| | ~Text () |
| | Destructor.
|
| void | setColor (const gfx::Color &textColor) |
| | Set Font Color.
|
| gfx::Color | getColor () |
| | Get Font Color.
|
| void | Render () |
| | Renders the static text.
|
| virtual | ~Control () |
| virtual bool | CheckClick (int X, int Y) |
| | Checks if control clicked.
|
| virtual void | Connect (EventType eventtype, core::Functor2< void, Control *, EventArgs * > *Function) |
| | Connect an event.
|
| virtual void | SetPosistion (int X, int Y) |
| | Sets the control position.
|
| virtual void | SetSize (int Width, int Height) |
| | Sets Control size.
|
| virtual void | SetRect (int X, int Y, int Width, int Height) |
| | Sets the control rect.
|
| virtual void | SetRect (core::RectI rect) |
| | Sets the control rect.
|
| virtual bool | GetFocus () |
| | Gets The Focuse Status.
|
| virtual void | SetFocus (bool FocusStatus) |
| | Set The Focuse Status.
|
| | 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.
|
Protected Member Functions |
| virtual void | Update () |
| virtual void | CreateChars () |
| virtual wchar_t | CalcChar (int id, bool prev, bool next) |
Detailed Description
Definition at line 16 of file Text.h.
Constructor & Destructor Documentation
| kge::gui::Text::~Text |
( |
| ) |
|
Member Function Documentation
| virtual wchar_t kge::gui::Text::CalcChar |
( |
int |
id, |
|
|
bool |
prev, |
|
|
bool |
next |
|
) |
| |
|
protectedvirtual |
| virtual void kge::gui::Text::CreateChars |
( |
| ) |
|
|
protectedvirtual |
| void kge::gui::Text::Render |
( |
| ) |
|
|
virtual |
| void kge::gui::Text::setColor |
( |
const gfx::Color & |
textColor | ) |
|
|
inline |
| virtual void kge::gui::Text::Update |
( |
| ) |
|
|
protectedvirtual |
Member Data Documentation
| ul32 kge::gui::Text::m_FontSize |
|
protected |
| u32 kge::gui::Text::m_iIcount |
|
protected |
| u32 kge::gui::Text::m_iVcount |
|
protected |
| Font* kge::gui::Text::m_pFont |
|
protected |
| wchar_t* kge::gui::Text::m_pText |
|
protected |
The documentation for this class was generated from the following file:
- E:/mycodes/git/kge/Include/gui/Text.h