Mercurial > mm7
comparison 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 |
comparison
equal
deleted
inserted
replaced
2544:c674d547cc7c | 2545:e06a3fe9ad6e |
---|---|
1 #pragma once | 1 #pragma once |
2 #include "GUI/GUIWindow.h" | |
3 | |
4 | |
5 struct GUIWindow_Rest : public GUIWindow | |
6 { | |
7 GUIWindow_Rest(unsigned int x, unsigned int y, unsigned int width, unsigned int height) : | |
8 GUIWindow(x, y, width, height, 0, nullptr) | |
9 {} | |
10 virtual ~GUIWindow_Rest() {} | |
11 | |
12 virtual void Update(); | |
13 }; | |
14 | |
15 | |
16 struct GUIWindow_RestWindow : public GUIWindow | |
17 { | |
18 GUIWindow_RestWindow(unsigned int x, unsigned int y, unsigned int width, unsigned int height, int button, const char *hint) : | |
19 GUIWindow(x, y, width, height, button, hint) | |
20 {} | |
21 virtual ~GUIWindow_RestWindow() {} | |
22 | |
23 virtual void Update(); | |
24 virtual void Release(); | |
25 }; |