1815
|
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 }; |