diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-02-05 11:42:35 +0100 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-02-05 11:42:58 +0100 |
commit | 38f589a9cb174bd47789f10255ea249df8e18f15 (patch) | |
tree | c5267c6f6e5ceea1a9f9053ce6a426cb5797a321 /SharedGraphics/Painter.h | |
parent | b782055b96f30e28b979769f517274fda7a57825 (diff) | |
download | serenity-38f589a9cb174bd47789f10255ea249df8e18f15.zip |
SharedGraphics: Add some useful painting helpers and make use of them.
Diffstat (limited to 'SharedGraphics/Painter.h')
-rw-r--r-- | SharedGraphics/Painter.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/SharedGraphics/Painter.h b/SharedGraphics/Painter.h index ef0fed89da..dd9b807f2b 100644 --- a/SharedGraphics/Painter.h +++ b/SharedGraphics/Painter.h @@ -25,7 +25,7 @@ public: ~Painter(); void fill_rect(const Rect&, Color); void fill_rect_with_gradient(const Rect&, Color gradient_start, Color gradient_end); - void draw_rect(const Rect&, Color); + void draw_rect(const Rect&, Color, bool rough = false); void draw_bitmap(const Point&, const CharacterBitmap&, Color = Color()); void draw_bitmap(const Point&, const GlyphBitmap&, Color = Color()); void set_pixel(const Point&, Color); |