1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-06 09:09:40 +02:00

resource selection

This commit is contained in:
Laserlicht
2024-08-13 22:40:37 +02:00
parent fac0450256
commit 795a9e131f
4 changed files with 30 additions and 27 deletions

View File

@@ -64,12 +64,6 @@ void GraphicalPrimitiveCanvas::addRectangle(const Point & topLeft, const Point &
primitives.push_back({color, topLeft, size, PrimitiveType::RECTANGLE});
}
void GraphicalPrimitiveCanvas::clear()
{
primitives.clear();
redraw();
}
TransparentFilledRectangle::TransparentFilledRectangle(Rect position, ColorRGBA color) :
GraphicalPrimitiveCanvas(position)
{

View File

@@ -38,7 +38,6 @@ public:
void addLine(const Point & from, const Point & to, const ColorRGBA & color);
void addBox(const Point & topLeft, const Point & size, const ColorRGBA & color);
void addRectangle(const Point & topLeft, const Point & size, const ColorRGBA & color);
void clear();
};
class TransparentFilledRectangle : public GraphicalPrimitiveCanvas