diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2017-02-12 11:07:22 +0100 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2017-02-12 11:07:22 +0100 |
commit | cec1d9ea562e3d52c98f1219db5e186943f2f0d6 (patch) | |
tree | 3a66ff06ef16cce96e215644032e6c9fac2cbe8a /plugingui/painter.h | |
parent | dc33f15a6b968139779c2b7d2003d3ef6e7d5748 (diff) |
Refactor/introduce widget and windiow redraw/dirty mechanism to eradicate unnecessary rendering passes during event handling.
Diffstat (limited to 'plugingui/painter.h')
-rw-r--r-- | plugingui/painter.h | 14 |
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); |