summaryrefslogtreecommitdiff
path: root/Applications/FontEditor/GlyphEditorWidget.cpp
diff options
context:
space:
mode:
authorStephan Unverwerth <s.unverwerth@gmx.de>2020-12-31 14:01:59 +0100
committerAndreas Kling <kling@serenityos.org>2020-12-31 23:40:27 +0100
commitbb27b212de2544186b58928759c8c2a2e56944f9 (patch)
tree2292fa75c9a45c9271e0108648e52612c3c5d7b2 /Applications/FontEditor/GlyphEditorWidget.cpp
parentac50bc79e4f0992edf69196efd2788f7be81730c (diff)
downloadserenity-bb27b212de2544186b58928759c8c2a2e56944f9.zip
LibGfx: Introduce provisional font interface
Old font functionality has been moved into BitmapFont and an abstract Font interface has been introduced to faciliate further development of TTF font integration.
Diffstat (limited to 'Applications/FontEditor/GlyphEditorWidget.cpp')
-rw-r--r--Applications/FontEditor/GlyphEditorWidget.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Applications/FontEditor/GlyphEditorWidget.cpp b/Applications/FontEditor/GlyphEditorWidget.cpp
index 57cbed8058..6f545c1ccd 100644
--- a/Applications/FontEditor/GlyphEditorWidget.cpp
+++ b/Applications/FontEditor/GlyphEditorWidget.cpp
@@ -26,10 +26,10 @@
#include "GlyphEditorWidget.h"
#include <LibGUI/Painter.h>
-#include <LibGfx/Font.h>
+#include <LibGfx/BitmapFont.h>
#include <LibGfx/Palette.h>
-GlyphEditorWidget::GlyphEditorWidget(Gfx::Font& mutable_font)
+GlyphEditorWidget::GlyphEditorWidget(Gfx::BitmapFont& mutable_font)
: m_font(mutable_font)
{
set_relative_rect({ 0, 0, preferred_width(), preferred_height() });