mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-28 23:06:24 +02:00
37 lines
881 B
C++
37 lines
881 B
C++
#pragma once
|
|
|
|
#include "../GUIBase.h"
|
|
|
|
struct SDL_Surface;
|
|
class AdventureMapButton;
|
|
class CBattleInterface;
|
|
struct SDL_Rect;
|
|
struct BattleResult;
|
|
|
|
/*
|
|
* CBattleResultWindow.h, part of VCMI engine
|
|
*
|
|
* Authors: listed in file AUTHORS in main folder
|
|
*
|
|
* License: GNU General Public License v2.0 or later
|
|
* Full text of license available in license.txt file, in main folder
|
|
*
|
|
*/
|
|
|
|
/// Class which is responsible for showing the battle result window
|
|
class CBattleResultWindow : public CIntObject
|
|
{
|
|
private:
|
|
SDL_Surface *background;
|
|
AdventureMapButton *exit;
|
|
CBattleInterface *owner;
|
|
public:
|
|
CBattleResultWindow(const BattleResult &br, const SDL_Rect &pos, CBattleInterface *_owner); //c-tor
|
|
~CBattleResultWindow(); //d-tor
|
|
|
|
void bExitf(); //exit button callback
|
|
|
|
void activate();
|
|
void deactivate();
|
|
void show(SDL_Surface * to = 0);
|
|
}; |