mirror of
https://github.com/RGBCube/serenity
synced 2025-06-01 05:48:12 +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
|
@ -35,7 +35,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;
|
||||
virtual bool is_overriding_alt() override { return true; }
|
||||
LayerSelectionMode layer_selection_mode() const { return m_layer_selection_mode; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue