mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-06 09:09:40 +02:00
resource selection
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user