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:
parent
3159e548a5
commit
efe44451ca
2 changed files with 59 additions and 54 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue