From 3f259e92bf1a25a8db521a587b6d612e356b22bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Nusser?= Date: Sun, 10 Jun 2018 15:13:53 +0200 Subject: Add highlight of single instruments on hits. --- plugingui/painter.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'plugingui/painter.h') 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; }; -- cgit v1.2.3