1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-09-16 09:26:28 +02:00
This commit is contained in:
Laserlicht
2024-08-12 01:19:00 +02:00
parent c9a3ea28bf
commit da86a49ea1
2 changed files with 5 additions and 3 deletions

View File

@@ -25,8 +25,8 @@
#include "../../lib/gameState/GameStatistics.h"
#include "../../lib/texts/CGeneralTextHandler.h"
CStatisticScreen::CStatisticScreen(StatisticDataSet statistic)
: CWindowObject(BORDERED)
CStatisticScreen::CStatisticScreen(StatisticDataSet stat)
: CWindowObject(BORDERED), statistic(stat)
{
OBJ_CONSTRUCTION_CAPTURING_ALL_NO_DISPOSE;
pos = center(Rect(0, 0, 800, 600));

View File

@@ -18,6 +18,8 @@ class CStatisticScreen : public CWindowObject
std::shared_ptr<FilledTexturePlayerColored> filledBackground;
std::vector<std::shared_ptr<CIntObject>> layout;
StatisticDataSet statistic;
public:
CStatisticScreen(StatisticDataSet statistic);
CStatisticScreen(StatisticDataSet stat);
};