mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-27 22:49:25 +02:00
save var
This commit is contained in:
@@ -25,8 +25,8 @@
|
|||||||
#include "../../lib/gameState/GameStatistics.h"
|
#include "../../lib/gameState/GameStatistics.h"
|
||||||
#include "../../lib/texts/CGeneralTextHandler.h"
|
#include "../../lib/texts/CGeneralTextHandler.h"
|
||||||
|
|
||||||
CStatisticScreen::CStatisticScreen(StatisticDataSet statistic)
|
CStatisticScreen::CStatisticScreen(StatisticDataSet stat)
|
||||||
: CWindowObject(BORDERED)
|
: CWindowObject(BORDERED), statistic(stat)
|
||||||
{
|
{
|
||||||
OBJ_CONSTRUCTION_CAPTURING_ALL_NO_DISPOSE;
|
OBJ_CONSTRUCTION_CAPTURING_ALL_NO_DISPOSE;
|
||||||
pos = center(Rect(0, 0, 800, 600));
|
pos = center(Rect(0, 0, 800, 600));
|
||||||
|
|||||||
@@ -18,6 +18,8 @@ class CStatisticScreen : public CWindowObject
|
|||||||
std::shared_ptr<FilledTexturePlayerColored> filledBackground;
|
std::shared_ptr<FilledTexturePlayerColored> filledBackground;
|
||||||
|
|
||||||
std::vector<std::shared_ptr<CIntObject>> layout;
|
std::vector<std::shared_ptr<CIntObject>> layout;
|
||||||
|
|
||||||
|
StatisticDataSet statistic;
|
||||||
public:
|
public:
|
||||||
CStatisticScreen(StatisticDataSet statistic);
|
CStatisticScreen(StatisticDataSet stat);
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user