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:
parent
f2b626daba
commit
423c2e44c9
2 changed files with 35 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue