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:
parent
03e722f664
commit
315dc8d81b
3 changed files with 25 additions and 6 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue