summaryrefslogtreecommitdiff
path: root/SharedGraphics/Painter.h
diff options
context:
space:
mode:
Diffstat (limited to 'SharedGraphics/Painter.h')
-rw-r--r--SharedGraphics/Painter.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/SharedGraphics/Painter.h b/SharedGraphics/Painter.h
index 22acc64313..9682e45f5e 100644
--- a/SharedGraphics/Painter.h
+++ b/SharedGraphics/Painter.h
@@ -36,6 +36,7 @@ public:
void draw_glyph(const Point&, char, Color);
const Font& font() const { return *m_font; }
+ void set_font(Font& font) { m_font = &font; }
enum class DrawOp { Copy, Xor };
void set_draw_op(DrawOp op) { m_draw_op = op; }