summaryrefslogtreecommitdiff
path: root/Widgets/Painter.h
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2018-10-12 02:24:05 +0200
committerAndreas Kling <awesomekling@gmail.com>2018-10-12 02:24:05 +0200
commit64127e06378259515006f876440ce0ecd5fa7728 (patch)
treec444dfea758d8572a418165e70651abc620cac26 /Widgets/Painter.h
parent22721e6729633f507a3df6c98ab440b536b1b24a (diff)
downloadserenity-64127e06378259515006f876440ce0ecd5fa7728.zip
Very hacky support for dragging a window around.
Diffstat (limited to 'Widgets/Painter.h')
-rw-r--r--Widgets/Painter.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Widgets/Painter.h b/Widgets/Painter.h
index 857815fd88..624ae4baac 100644
--- a/Widgets/Painter.h
+++ b/Widgets/Painter.h
@@ -17,6 +17,8 @@ public:
void drawRect(const Rect&, Color);
void drawText(const Rect&, const String&, TextAlignment = TextAlignment::TopLeft, const Color& = Color());
+ void xorRect(const Rect&, Color);
+
const Font& font() const;
private: