diff options
author | Andreas Kling <kling@serenityos.org> | 2020-10-31 10:18:49 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-10-31 13:56:21 +0100 |
commit | 982e066100c187a7565c43103572a987ae3766bc (patch) | |
tree | 7f1368bcea28186d28f7562879da54ce569d5729 /Libraries/LibVT | |
parent | e569f7fd1cc6cf3aed785ef639566d9d01133fa5 (diff) | |
download | serenity-982e066100c187a7565c43103572a987ae3766bc.zip |
LibGfx: Move FontDatabase from LibGUI to LibGfx
Not sure why I put this into LibGUI in the first place.
Diffstat (limited to 'Libraries/LibVT')
-rw-r--r-- | Libraries/LibVT/TerminalWidget.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Libraries/LibVT/TerminalWidget.cpp b/Libraries/LibVT/TerminalWidget.cpp index 4a27091eaa..948c2f402c 100644 --- a/Libraries/LibVT/TerminalWidget.cpp +++ b/Libraries/LibVT/TerminalWidget.cpp @@ -39,12 +39,12 @@ #include <LibGUI/Application.h> #include <LibGUI/Clipboard.h> #include <LibGUI/DragOperation.h> -#include <LibGUI/FontDatabase.h> #include <LibGUI/Menu.h> #include <LibGUI/Painter.h> #include <LibGUI/ScrollBar.h> #include <LibGUI/Window.h> #include <LibGfx/Font.h> +#include <LibGfx/FontDatabase.h> #include <LibGfx/Palette.h> #include <errno.h> #include <math.h> @@ -122,7 +122,7 @@ TerminalWidget::TerminalWidget(int ptm_fd, bool automatic_size_policy, RefPtr<Co if (font_entry == "default") set_font(Gfx::Font::default_fixed_width_font()); else - set_font(GUI::FontDatabase::the().get_by_name(font_entry)); + set_font(Gfx::FontDatabase::the().get_by_name(font_entry)); m_line_height = font().glyph_height() + m_line_spacing; |