1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 16:37:35 +00:00

HackStudio: Add option to change the editor's font

This commit is contained in:
Marco Cutecchia 2021-10-06 16:01:52 +02:00 committed by Andreas Kling
parent f2b626daba
commit 423c2e44c9
2 changed files with 35 additions and 0 deletions

View file

@ -25,6 +25,7 @@
#include <LibGUI/Scrollbar.h>
#include <LibGUI/Splitter.h>
#include <LibGUI/Widget.h>
#include <LibGfx/Font.h>
#include <LibThreading/Thread.h>
namespace HackStudio {
@ -205,6 +206,11 @@ private:
RefPtr<GUI::Action> m_locations_history_back_action;
RefPtr<GUI::Action> m_locations_history_forward_action;
RefPtr<Gfx::Font> read_editor_font_from_config();
void change_editor_font(RefPtr<Gfx::Font>);
RefPtr<Gfx::Font> m_editor_font;
RefPtr<GUI::Action> m_editor_font_action;
GUI::ActionGroup m_wrapping_mode_actions;
RefPtr<GUI::Action> m_no_wrapping_action;
RefPtr<GUI::Action> m_wrap_anywhere_action;