mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 15:47:44 +00:00
PixelPaint: Propagate errors from making tool property widgets
This commit is contained in:
parent
b409a40377
commit
be717edd33
41 changed files with 499 additions and 468 deletions
|
@ -40,7 +40,7 @@ public:
|
|||
virtual void on_primary_color_change(Color) override;
|
||||
virtual void on_tool_deactivation() override;
|
||||
virtual Variant<Gfx::StandardCursor, NonnullRefPtr<Gfx::Bitmap>> cursor() override;
|
||||
virtual GUI::Widget* get_properties_widget() override;
|
||||
virtual ErrorOr<GUI::Widget*> get_properties_widget() override;
|
||||
|
||||
private:
|
||||
virtual StringView tool_name() const override { return "Text Tool"sv; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue