![]() |
Kochol Game Engine
0.1.0
|
#include <GuiManager.h>
Public Member Functions | |
| GuiManager (gfx::Renderer *pRenderer, sn::SceneManager *pSmgr) | |
| Constructor. | |
| ~GuiManager () | |
| Destructor. | |
| bool | AddFont (Font **ppOutFont, u32 Handle, const char *FileName, const char *Name, void *ExtraParam) |
| For internal use. | |
| Image * | AddImage (const char *ImageFile, core::RectI rect) |
| Adds an image to the screen. | |
| Text * | AddText (const wchar_t *text, core::RectI rect, int FontSize=24, const char *FontName="Arial") |
| Adds an static text and return its pointer. | |
| void | DrawAll () |
| Draws all guis. | |
Public Member Functions inherited from kge::KgeUnknown | |
| 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 | |
| void | OnClick (EventArgs *event) |
| void | OnMouseMotion (EventArgs *event) |
| void | OnMouseDown (EventArgs *event) |
| void | OnMouseUp (EventArgs *event) |
Protected Member Functions inherited from kge::KgeUnknown | |
| void | SetDebugText (char *text) |
Protected Attributes | |
| bool | m_bClicked |
| bool | m_bMouseMotion |
| bool | m_bMouseDown |
| bool | m_bMouseUp |
| bool | m_bKeyDown |
| u16 * | m_pIndices |
| io::Mouse * | m_pMouse |
| sn::SceneManager * | m_pSmgr |
| gfx::Renderer * | m_pRenderer |
| std::vector< Control * > | m_vControls |
| MouseEventArgs | m_meaClick |
| MouseEventArgs | m_meaMotion |
| MouseEventArgs | m_meaMouse |
| gui::Control * | m_pFocusedControl |
| ResourceManager< Font > * | m_pFontManager |
| gfx::Material * | m_pMat |
| Font * | m_pFirstFont |
Definition at line 19 of file GuiManager.h.
| kge::gui::GuiManager::GuiManager | ( | gfx::Renderer * | pRenderer, |
| sn::SceneManager * | pSmgr | ||
| ) |
Constructor.
| kge::gui::GuiManager::~GuiManager | ( | ) |
Destructor.
| bool kge::gui::GuiManager::AddFont | ( | Font ** | ppOutFont, |
| u32 | Handle, | ||
| const char * | FileName, | ||
| const char * | Name, | ||
| void * | ExtraParam | ||
| ) |
For internal use.
| Image* kge::gui::GuiManager::AddImage | ( | const char * | ImageFile, |
| core::RectI | rect | ||
| ) |
Adds an image to the screen.
| Text* kge::gui::GuiManager::AddText | ( | const wchar_t * | text, |
| core::RectI | rect, | ||
| int | FontSize = 24, |
||
| const char * | FontName = "Arial" |
||
| ) |
Adds an static text and return its pointer.
| void kge::gui::GuiManager::DrawAll | ( | ) |
Draws all guis.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Definition at line 48 of file GuiManager.h.
|
protected |
Definition at line 48 of file GuiManager.h.
|
protected |
Definition at line 48 of file GuiManager.h.
|
protected |
Definition at line 48 of file GuiManager.h.
|
protected |
Definition at line 48 of file GuiManager.h.
|
protected |
Definition at line 59 of file GuiManager.h.
|
protected |
Definition at line 59 of file GuiManager.h.
|
protected |
Definition at line 59 of file GuiManager.h.
|
protected |
Definition at line 70 of file GuiManager.h.
|
protected |
Definition at line 63 of file GuiManager.h.
|
protected |
Definition at line 66 of file GuiManager.h.
|
protected |
Definition at line 53 of file GuiManager.h.
|
protected |
Definition at line 68 of file GuiManager.h.
|
protected |
Definition at line 54 of file GuiManager.h.
|
protected |
Definition at line 56 of file GuiManager.h.
|
protected |
Definition at line 55 of file GuiManager.h.
|
protected |
Definition at line 58 of file GuiManager.h.