Mercurial > mm7
diff NewUI/MainMenu.h @ 1823:24b70fa98474
Merge
author | Grumpy7 |
---|---|
date | Wed, 09 Oct 2013 08:09:48 +0200 |
parents | bd899dfd976c |
children | a5637690ffbb |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/NewUI/MainMenu.h Wed Oct 09 08:09:48 2013 +0200 @@ -0,0 +1,28 @@ +#pragma once +#include "Core/UIControl.h" + + +class MainMenuWindow: public UIControl +{ + public: + static MainMenuWindow *Create(); + + bool Initialize(); + + // UIControl + virtual void Show() override; + + // UIControl + virtual bool Focused() override; + + // UIControl + virtual bool OnKey(int key) override; + // UIControl + virtual bool OnMouseLeftClick(int x, int y) override; + // UIControl + virtual bool OnMouseRightClick(int x, int y) override; + // UIControl + //virtual bool OnMouseEnter() override; + // UIControl + //virtual bool OnMouseLeave() override; +}; \ No newline at end of file