1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-01 08:28:11 +00:00

FontEditor: Add FontEditorWidget::open_file() function

This part is also quite needed when opening files from drag-and-drop
events.
This commit is contained in:
Karol Kosek 2021-10-13 22:13:48 +02:00 committed by Linus Groh
parent 72378fd36c
commit a0cb8cfefd
2 changed files with 20 additions and 14 deletions

View file

@ -37,6 +37,7 @@ public:
private:
FontEditorWidget(const String& path, RefPtr<Gfx::BitmapFont>&&);
void open_file(String const&);
void undo();
void redo();
void did_modify_font();