1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 10:27:35 +00:00

PixelPaint: Store tool cursors as NNRP<Gfx::Bitmap const>

This commit is contained in:
Andreas Kling 2023-02-19 23:23:37 +01:00
parent 65710bf3f7
commit df07416171
24 changed files with 26 additions and 26 deletions

View file

@ -18,7 +18,7 @@ class PenTool final : public BrushTool {
public:
PenTool();
virtual ~PenTool() override = default;
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; }
virtual ErrorOr<GUI::Widget*> get_properties_widget() override;
protected: