view GUI/UI/UIModal.h @ 2563:65c97624c047

Saving & loading works from both main menu and game
author a.parshin
date Tue, 19 May 2015 22:00:56 +0200
parents fed97f15d1e1
children
line wrap: on
line source

#pragma once
#include "GUI/GUIWindow.h"

struct GUIWindow_Modal : public GUIWindow
{
             GUIWindow_Modal(const char *message, enum UIMessageType on_release_event);
    virtual ~GUIWindow_Modal() {}

    virtual void Update();
    virtual void Release();

    protected:
        enum CURRENT_SCREEN prev_screen_type;
};