mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-02 15:46:33 +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:
parent
72378fd36c
commit
a0cb8cfefd
Notes:
sideshowbarker
2024-07-18 02:16:10 +09:00
Author: https://github.com/krkk
Commit: a0cb8cfefd
Pull-request: https://github.com/SerenityOS/serenity/pull/10466
Reviewed-by: https://github.com/thankyouverycool ✅
2 changed files with 20 additions and 14 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue