From 6f37429f5744066e28a1dbfdd30d6406ec653c27 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Wed, 10 Oct 2018 16:49:36 +0200 Subject: Intense hacking on Widgets. --- Widgets/Painter.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 Widgets/Painter.h (limited to 'Widgets/Painter.h') diff --git a/Widgets/Painter.h b/Widgets/Painter.h new file mode 100644 index 0000000000..2865b9dcce --- /dev/null +++ b/Widgets/Painter.h @@ -0,0 +1,16 @@ +#pragma once + +#include "Color.h" +#include "Rect.h" + +class Widget; + +class Painter { +public: + explicit Painter(Widget&); + ~Painter(); + void fillRect(Rect, Color); + +private: + Widget& m_widget; +}; -- cgit v1.2.3