view 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 source

#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();
};