FontEditor: Let WindowServer manage modified markings

Simplifies building modified/new font titles and lets FontEditor
make use of the comfy ellipsis close button.
This commit is contained in:
thankyouverycool 2021-08-26 17:25:02 -04:00 committed by Andreas Kling
commit e8e7c59c34
Notes: sideshowbarker 2024-07-18 05:14:41 +09:00
3 changed files with 30 additions and 58 deletions

View file

@ -39,7 +39,6 @@ private:
void undo();
void redo();
void did_change_undo_stack();
void did_modify_font();
RefPtr<Gfx::BitmapFont> m_edited_font;
@ -90,6 +89,4 @@ private:
Vector<String> m_font_weight_list;
Vector<String> m_font_type_list;
bool m_font_metadata { true };
bool m_font_modified { false };
bool m_font_newly_opened { true };
};