summaryrefslogtreecommitdiff
path: root/plugingui/painter.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugingui/painter.h')
-rw-r--r--plugingui/painter.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugingui/painter.h b/plugingui/painter.h
index 233d157..7e1fede 100644
--- a/plugingui/painter.h
+++ b/plugingui/painter.h
@@ -42,7 +42,7 @@ namespace GUI
class Painter
{
public:
- Painter(Widget& widget);
+ Painter(Canvas& canvas);
~Painter();
void flush();
@@ -84,8 +84,8 @@ public:
void clear();
private:
- Widget& widget;
- PixelBufferAlpha* pixbuf;
+ Canvas& canvas;
+ PixelBufferAlpha& pixbuf;
Colour colour;
};