mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-31 22:56:04 +00:00
PixelPaint: Propagate errors from making tool property widgets
This commit is contained in:
parent
b409a40377
commit
be717edd33
Notes:
sideshowbarker
2024-07-17 05:13:53 +09:00
Author: https://github.com/krkk
Commit: be717edd33
Pull-request: https://github.com/SerenityOS/serenity/pull/17445
Reviewed-by: https://github.com/AtkinsSJ ✅
41 changed files with 499 additions and 468 deletions
|
@ -18,7 +18,7 @@ public:
|
|||
virtual ~ZoomTool() override = default;
|
||||
|
||||
virtual void on_mousedown(Layer*, MouseEvent&) override;
|
||||
virtual GUI::Widget* get_properties_widget() override;
|
||||
virtual ErrorOr<GUI::Widget*> get_properties_widget() override;
|
||||
virtual Variant<Gfx::StandardCursor, NonnullRefPtr<Gfx::Bitmap>> cursor() override { return Gfx::StandardCursor::Zoom; }
|
||||
|
||||
private:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue