summaryrefslogtreecommitdiff
path: root/plugingui/painter.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugingui/painter.h')
-rw-r--r--plugingui/painter.h14
1 files changed, 6 insertions, 8 deletions
diff --git a/plugingui/painter.h b/plugingui/painter.h
index 7e1fede..3f3c2bb 100644
--- a/plugingui/painter.h
+++ b/plugingui/painter.h
@@ -28,25 +28,23 @@
#include <string>
-#include "widget.h"
#include "colour.h"
-#include "pixelbuffer.h"
-#include "font.h"
-#include "drawable.h"
-#include "texture.h"
-#include "image.h"
namespace GUI
{
+class PixelBufferAlpha;
+class Font;
+class Drawable;
+class Image;
+class Canvas;
+
class Painter
{
public:
Painter(Canvas& canvas);
~Painter();
- void flush();
-
void setColour(const Colour& colour);
void drawLine(int x1, int y1, int x2, int y2);