mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 06:27:45 +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
|
@ -26,7 +26,7 @@ public:
|
|||
virtual bool on_keydown(GUI::KeyEvent&) override;
|
||||
virtual void on_keyup(GUI::KeyEvent&) override;
|
||||
virtual void on_second_paint(Layer const*, GUI::PaintEvent&) 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::Crosshair; }
|
||||
virtual Gfx::IntPoint point_position_to_preferred_cell(Gfx::FloatPoint position) const override;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue