1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 21:57:34 +00:00

FontEditor: Add a "Save as..." menu item

This commit is contained in:
Nico Weber 2020-07-10 21:20:39 -04:00 committed by Andreas Kling
parent 03e722f664
commit 315dc8d81b
3 changed files with 25 additions and 6 deletions

View file

@ -40,6 +40,10 @@ public:
int preferred_width() { return m_preferred_width; }
int preferred_height() { return m_preferred_height; }
bool save_as(const String&);
const String& path() { return m_path; }
private:
FontEditorWidget(const String& path, RefPtr<Gfx::Font>&&);
RefPtr<Gfx::Font> m_edited_font;