Mercurial > mm7
comparison NewUI/MainMenu.h @ 1823:24b70fa98474
Merge
author | Grumpy7 |
---|---|
date | Wed, 09 Oct 2013 08:09:48 +0200 |
parents | bd899dfd976c |
children | a5637690ffbb |
comparison
equal
deleted
inserted
replaced
1822:5f9eeb7bf8e6 | 1823:24b70fa98474 |
---|---|
1 #pragma once | |
2 #include "Core/UIControl.h" | |
3 | |
4 | |
5 class MainMenuWindow: public UIControl | |
6 { | |
7 public: | |
8 static MainMenuWindow *Create(); | |
9 | |
10 bool Initialize(); | |
11 | |
12 // UIControl | |
13 virtual void Show() override; | |
14 | |
15 // UIControl | |
16 virtual bool Focused() override; | |
17 | |
18 // UIControl | |
19 virtual bool OnKey(int key) override; | |
20 // UIControl | |
21 virtual bool OnMouseLeftClick(int x, int y) override; | |
22 // UIControl | |
23 virtual bool OnMouseRightClick(int x, int y) override; | |
24 // UIControl | |
25 //virtual bool OnMouseEnter() override; | |
26 // UIControl | |
27 //virtual bool OnMouseLeave() override; | |
28 }; |