view GUI/UI/UIRest.h @ 2546:4087cbc62706

GameMenu logic moved to GUIWindow_GameMenu the same for game menu options
author a.parshin
date Mon, 11 May 2015 17:45:02 +0200
parents e06a3fe9ad6e
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();
};