Mercurial > mm7
comparison NewUI/MainMenu.h @ 1815:bd899dfd976c
MainMenuWindow
author | Nomad |
---|---|
date | Tue, 08 Oct 2013 11:04:08 +0200 |
parents | |
children | a5637690ffbb |
comparison
equal
deleted
inserted
replaced
1806:8e17ceba3a40 | 1815:bd899dfd976c |
---|---|
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 }; |