1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 07:27:45 +00:00

FontEditor: Make update_{statusbar,preview} member functions

For use outside constructor. Renames demo to preview to make
the UI and code comport.
This commit is contained in:
thankyouverycool 2021-09-22 09:25:25 -04:00 committed by Andreas Kling
parent 3159e548a5
commit efe44451ca
2 changed files with 59 additions and 54 deletions

View file

@ -40,6 +40,8 @@ private:
void undo();
void redo();
void did_modify_font();
void update_statusbar();
void update_preview();
RefPtr<Gfx::BitmapFont> m_edited_font;
@ -73,6 +75,7 @@ private:
RefPtr<GUI::Action> m_scale_ten_action;
RefPtr<GUI::Action> m_scale_fifteen_action;
RefPtr<GUI::Statusbar> m_statusbar;
RefPtr<GUI::Window> m_font_preview_window;
RefPtr<GUI::Widget> m_left_column_container;
RefPtr<GUI::Widget> m_glyph_editor_container;