mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-12 04:22:28 +00:00
PixelPaint: Allow opening of files dropped onto application :^)
We can now drag-and-drop files onto PixelPaint to be able to open them. Each dropped file opens in a separate editor (which is the default behavior of Photoshop).
This commit is contained in:
parent
5a8c6b95e6
commit
f8570bd773
Notes:
sideshowbarker
2024-07-18 04:38:01 +09:00
Author: https://github.com/mustafaquraish
Commit: f8570bd773
Pull-request: https://github.com/SerenityOS/serenity/pull/9853
2 changed files with 24 additions and 0 deletions
|
@ -43,6 +43,8 @@ private:
|
|||
ImageEditor* current_image_editor();
|
||||
ImageEditor& create_new_editor(NonnullRefPtr<Image>);
|
||||
|
||||
virtual void drop_event(GUI::DropEvent&) override;
|
||||
|
||||
ProjectLoader m_loader;
|
||||
|
||||
RefPtr<ToolboxWidget> m_toolbox;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue