Mercurial > LightClone
view LightClone/Source/GuiInterface.h @ 11:d80d06d5ff53
Begin working on Gui system
author | koryspansel <koryspansel@bendbroadband.com> |
---|---|
date | Tue, 13 Sep 2011 09:34:11 -0700 |
parents | |
children | 4951acfe92fc |
line wrap: on
line source
/* * GuiInterface */ #ifndef __GUIINTERFACE_H__ #define __GUIINTERFACE_H__ #include "Core.h" #include "GuiContainer.h" /* * GuiInterface */ class GuiInterface { /* * pRoot */ GuiContainer* pRoot; public: /* * GuiInterface */ GuiInterface(); /* * ~GuiInterface */ ~GuiInterface(); /* * Initialize */ ErrorCode Initialize(ResourceManager* pResourceManager); /* * Terminate */ void Terminate(); /* * Update */ void Update(float fElapsed); /* * Render */ void Render(RenderContext& kContext); /* * Pick */ GuiElement* Pick(float fX, float fY); /* * GetRoot */ GuiContainer* GetRoot(); }; #endif //__GUIINTERFACE_H__