comparison GUI/NewUI/MainMenu.h @ 2501:0ff6a9e9bf7f

GUI folger
author Ritor1
date Fri, 19 Sep 2014 04:21:12 +0600
parents
children
comparison
equal deleted inserted replaced
2500:952025b157aa 2501:0ff6a9e9bf7f
1 #pragma once
2 #include "Core/UIControl.h"
3 #include "..\..\Engine/Graphics/Render.h"
4
5
6 class MainMenuWindow: public UIControl
7 {
8 public:
9 static MainMenuWindow *Create();
10
11 bool Initialize();
12
13 // UIControl
14 virtual void Show() override;
15
16 // UIControl
17 virtual bool Focused() override;
18
19 // UIControl
20 virtual bool OnKey(int key) override;
21 // UIControl
22 virtual bool OnMouseLeftClick(int x, int y) override;
23 // UIControl
24 virtual bool OnMouseRightClick(int x, int y) override;
25 // UIControl
26 //virtual bool OnMouseEnter() override;
27 // UIControl
28 //virtual bool OnMouseLeave() override;
29
30 private:
31 RGBTexture *background_texture;
32 };