diff GUI/UI/UIRest.h @ 2545:e06a3fe9ad6e

TravelUI init logic moved to GUIWindow_Travel TransitionUI init logic moved to GUIWindow_Transition
author a.parshin
date Mon, 11 May 2015 16:43:46 +0200
parents 0ff6a9e9bf7f
children 3121fb54a110
line wrap: on
line diff
--- a/GUI/UI/UIRest.h	Mon May 11 09:51:04 2015 +0200
+++ b/GUI/UI/UIRest.h	Mon May 11 16:43:46 2015 +0200
@@ -1,1 +1,25 @@
-#pragma once
\ No newline at end of file
+#pragma once
+#include "GUI/GUIWindow.h"
+
+
+struct GUIWindow_Rest : public GUIWindow
+{
+    GUIWindow_Rest(unsigned int x, unsigned int y, unsigned int width, unsigned int height) :
+        GUIWindow(x, y, width, height, 0, nullptr)
+    {}
+    virtual ~GUIWindow_Rest() {}
+
+    virtual void Update();
+};
+
+
+struct GUIWindow_RestWindow : public GUIWindow
+{
+    GUIWindow_RestWindow(unsigned int x, unsigned int y, unsigned int width, unsigned int height, int button, const char *hint) :
+        GUIWindow(x, y, width, height, button, hint)
+    {}
+    virtual ~GUIWindow_RestWindow() {}
+
+    virtual void Update();
+    virtual void Release();
+};
\ No newline at end of file