diff NewUI/MainMenu.h @ 1815:bd899dfd976c

MainMenuWindow
author Nomad
date Tue, 08 Oct 2013 11:04:08 +0200
parents
children a5637690ffbb
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/NewUI/MainMenu.h	Tue Oct 08 11:04:08 2013 +0200
@@ -0,0 +1,28 @@
+#pragma once
+#include "Core/UIControl.h"
+
+
+class MainMenuWindow: public UIControl
+{
+  public:
+    static MainMenuWindow *Create();
+
+    bool Initialize();
+
+    // UIControl
+    virtual void Show() override;
+    
+    // UIControl
+    virtual bool Focused() override;
+    
+    // UIControl
+    virtual bool OnKey(int key) override;
+    // UIControl
+    virtual bool OnMouseLeftClick(int x, int y) override;
+    // UIControl
+    virtual bool OnMouseRightClick(int x, int y) override;
+    // UIControl
+    //virtual bool OnMouseEnter() override;
+    // UIControl
+    //virtual bool OnMouseLeave() override;
+};
\ No newline at end of file