diff options
author | Andreas Kling <awesomekling@gmail.com> | 2018-10-10 16:49:36 +0200 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2018-10-10 16:49:36 +0200 |
commit | 6f37429f5744066e28a1dbfdd30d6406ec653c27 (patch) | |
tree | eceec39f7e0a886888c021ec2b220708c682a154 /Widgets/Painter.h | |
parent | 8c84f9749e3220de767c78a2588808f0d9c54d79 (diff) | |
download | serenity-6f37429f5744066e28a1dbfdd30d6406ec653c27.zip |
Intense hacking on Widgets.
Diffstat (limited to 'Widgets/Painter.h')
-rw-r--r-- | Widgets/Painter.h | 16 |
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; +}; |