summaryrefslogtreecommitdiff
path: root/plugingui/painter.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugingui/painter.h')
-rw-r--r--plugingui/painter.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/plugingui/painter.h b/plugingui/painter.h
index df26b3e..fc4ce2b 100644
--- a/plugingui/painter.h
+++ b/plugingui/painter.h
@@ -56,6 +56,7 @@ public:
void drawCircle(int x, int y, double r);
void drawFilledCircle(int x, int y, int r);
void drawImage(int x, int y, const Drawable& image);
+ void drawRestrictedImage(int x0, int y0, Colour const& colour, const Drawable& image);
void drawImageStretched(int x, int y, const Drawable& image,
int width, int height);
@@ -82,6 +83,9 @@ public:
void clear();
private:
+ bool has_restriction{false};
+ Colour restriction_colour;
+
PixelBufferAlpha& pixbuf;
Colour colour;
};