1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-25 22:42:04 +02:00

code review

This commit is contained in:
Laserlicht
2024-08-14 22:36:54 +02:00
parent a42afa2910
commit b693ce120a
8 changed files with 28 additions and 29 deletions

View File

@@ -20,8 +20,8 @@ class ComboBox;
class CSlider;
class IImage;
using TData = std::map<ColorRGBA, std::vector<float>>;
using TIcons = std::map<ColorRGBA, std::vector<std::pair<int, std::shared_ptr<IImage>>>>;
using TData = std::vector<std::pair<ColorRGBA, std::vector<float>>>;
using TIcons = std::vector<std::pair<ColorRGBA, std::vector<std::pair<int, std::shared_ptr<IImage>>>>>;
class CStatisticScreen : public CWindowObject
{
@@ -69,6 +69,7 @@ class CStatisticScreen : public CWindowObject
void onSelectButton();
public:
CStatisticScreen(StatisticDataSet stat);
static std::string getDay(int day);
};
class StatisticSelector : public CWindowObject