annotate NewUI/MainMenu.h @ 1826:bdac32c645c5

Changing arrays in class Player to std::array
author Grumpy7
date Wed, 09 Oct 2013 09:08:15 +0200
parents bd899dfd976c
children a5637690ffbb
rev   line source
1815
bd899dfd976c MainMenuWindow
Nomad
parents:
diff changeset
1 #pragma once
bd899dfd976c MainMenuWindow
Nomad
parents:
diff changeset
2 #include "Core/UIControl.h"
bd899dfd976c MainMenuWindow
Nomad
parents:
diff changeset
3
bd899dfd976c MainMenuWindow
Nomad
parents:
diff changeset
4
bd899dfd976c MainMenuWindow
Nomad
parents:
diff changeset
5 class MainMenuWindow: public UIControl
bd899dfd976c MainMenuWindow
Nomad
parents:
diff changeset
6 {
bd899dfd976c MainMenuWindow
Nomad
parents:
diff changeset
7 public:
bd899dfd976c MainMenuWindow
Nomad
parents:
diff changeset
8 static MainMenuWindow *Create();
bd899dfd976c MainMenuWindow
Nomad
parents:
diff changeset
9
bd899dfd976c MainMenuWindow
Nomad
parents:
diff changeset
10 bool Initialize();
bd899dfd976c MainMenuWindow
Nomad
parents:
diff changeset
11
bd899dfd976c MainMenuWindow
Nomad
parents:
diff changeset
12 // UIControl
bd899dfd976c MainMenuWindow
Nomad
parents:
diff changeset
13 virtual void Show() override;
bd899dfd976c MainMenuWindow
Nomad
parents:
diff changeset
14
bd899dfd976c MainMenuWindow
Nomad
parents:
diff changeset
15 // UIControl
bd899dfd976c MainMenuWindow
Nomad
parents:
diff changeset
16 virtual bool Focused() override;
bd899dfd976c MainMenuWindow
Nomad
parents:
diff changeset
17
bd899dfd976c MainMenuWindow
Nomad
parents:
diff changeset
18 // UIControl
bd899dfd976c MainMenuWindow
Nomad
parents:
diff changeset
19 virtual bool OnKey(int key) override;
bd899dfd976c MainMenuWindow
Nomad
parents:
diff changeset
20 // UIControl
bd899dfd976c MainMenuWindow
Nomad
parents:
diff changeset
21 virtual bool OnMouseLeftClick(int x, int y) override;
bd899dfd976c MainMenuWindow
Nomad
parents:
diff changeset
22 // UIControl
bd899dfd976c MainMenuWindow
Nomad
parents:
diff changeset
23 virtual bool OnMouseRightClick(int x, int y) override;
bd899dfd976c MainMenuWindow
Nomad
parents:
diff changeset
24 // UIControl
bd899dfd976c MainMenuWindow
Nomad
parents:
diff changeset
25 //virtual bool OnMouseEnter() override;
bd899dfd976c MainMenuWindow
Nomad
parents:
diff changeset
26 // UIControl
bd899dfd976c MainMenuWindow
Nomad
parents:
diff changeset
27 //virtual bool OnMouseLeave() override;
bd899dfd976c MainMenuWindow
Nomad
parents:
diff changeset
28 };