mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-06 01:26:22 +00:00
PixelPaint: Store tool cursors as NNRP<Gfx::Bitmap const>
This commit is contained in:
parent
65710bf3f7
commit
df07416171
Notes:
sideshowbarker
2024-07-17 05:41:34 +09:00
Author: https://github.com/awesomekling
Commit: df07416171
Pull-request: https://github.com/SerenityOS/serenity/pull/17557
Reviewed-by: https://github.com/linusg
24 changed files with 26 additions and 26 deletions
|
@ -28,7 +28,7 @@ public:
|
|||
virtual void on_tool_activation() 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 "Guide Tool"sv; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue