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
2023-09-30 22:49:22 +02:00
committed by GitHub
parent 2eb4413978
commit 61aae7bccc
5 changed files with 77 additions and 77 deletions

View File

@@ -30,7 +30,7 @@ class CMapOverview : public CWindowObject
{
class CMapOverviewWidget : public InterfaceObjectConfigurable
{
CMapOverview& parent;
CMapOverview& p;
bool drawPlayerElements;
bool renderImage;
@@ -38,12 +38,9 @@ class CMapOverview : public CWindowObject
std::vector<std::shared_ptr<IImage>> createMinimaps(ResourcePath resource, Point size) const;
std::vector<std::shared_ptr<IImage>> createMinimaps(std::unique_ptr<CMap> & map, Point size) const;
std::shared_ptr<TransparentFilledRectangle> buildDrawTransparentRect(const JsonNode & config) const;
std::shared_ptr<CPicture> buildDrawMinimap(const JsonNode & config) const;
std::shared_ptr<CTextBox> buildDrawPath(const JsonNode & config) const;
std::shared_ptr<CLabel> buildDrawString(const JsonNode & config) const;
public:
CMapOverviewWidget(CMapOverview& parent);
CMapOverviewWidget(CMapOverview& p);
};
std::shared_ptr<CMapOverviewWidget> widget;