summaryrefslogtreecommitdiff
path: root/Widgets/Painter.h
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2018-10-10 16:49:36 +0200
committerAndreas Kling <awesomekling@gmail.com>2018-10-10 16:49:36 +0200
commit6f37429f5744066e28a1dbfdd30d6406ec653c27 (patch)
treeeceec39f7e0a886888c021ec2b220708c682a154 /Widgets/Painter.h
parent8c84f9749e3220de767c78a2588808f0d9c54d79 (diff)
downloadserenity-6f37429f5744066e28a1dbfdd30d6406ec653c27.zip
Intense hacking on Widgets.
Diffstat (limited to 'Widgets/Painter.h')
-rw-r--r--Widgets/Painter.h16
1 files changed, 16 insertions, 0 deletions
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;
+};