mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 03:47:35 +00:00
PixelPaint: Store tool cursors as NNRP<Gfx::Bitmap const>
This commit is contained in:
parent
65710bf3f7
commit
df07416171
24 changed files with 26 additions and 26 deletions
|
@ -24,7 +24,7 @@ public:
|
|||
virtual void on_mousedown(Layer*, MouseEvent& event) override;
|
||||
virtual bool on_keydown(GUI::KeyEvent&) override;
|
||||
virtual ErrorOr<GUI::Widget*> get_properties_widget() override;
|
||||
virtual Variant<Gfx::StandardCursor, NonnullRefPtr<Gfx::Bitmap>> cursor() override { return Gfx::StandardCursor::Crosshair; }
|
||||
virtual Variant<Gfx::StandardCursor, NonnullRefPtr<Gfx::Bitmap const>> cursor() override { return Gfx::StandardCursor::Crosshair; }
|
||||
|
||||
private:
|
||||
virtual StringView tool_name() const override { return "Wand Select Tool"sv; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue