mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-29 23:07:48 +02:00
Remove access to internal surface of Canvas
This commit is contained in:
@@ -22,7 +22,7 @@ class CPicture;
|
||||
class CFilledTexture;
|
||||
class CTextBox;
|
||||
class IImage;
|
||||
class Canvas;
|
||||
class CanvasImage;
|
||||
class TransparentFilledRectangle;
|
||||
enum class ESelectionScreen : ui8;
|
||||
|
||||
@@ -33,11 +33,11 @@ class CMapOverviewWidget : public InterfaceObjectConfigurable
|
||||
CMapOverview& p;
|
||||
|
||||
bool drawPlayerElements;
|
||||
std::vector<Canvas> minimaps;
|
||||
std::vector<std::shared_ptr<CanvasImage>> minimaps;
|
||||
|
||||
Canvas createMinimapForLayer(std::unique_ptr<CMap> & map, int layer) const;
|
||||
std::vector<Canvas> createMinimaps(ResourcePath resource) const;
|
||||
std::vector<Canvas> createMinimaps(std::unique_ptr<CMap> & map) const;
|
||||
std::shared_ptr<CanvasImage> createMinimapForLayer(std::unique_ptr<CMap> & map, int layer) const;
|
||||
std::vector<std::shared_ptr<CanvasImage>> createMinimaps(ResourcePath resource) const;
|
||||
std::vector<std::shared_ptr<CanvasImage>> createMinimaps(std::unique_ptr<CMap> & map) const;
|
||||
|
||||
std::shared_ptr<CPicture> buildDrawMinimap(const JsonNode & config) const;
|
||||
public:
|
||||
|
||||
Reference in New Issue
Block a user