mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 13:07:46 +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
|
@ -68,7 +68,7 @@ public:
|
|||
virtual void on_tool_activation() { }
|
||||
virtual void on_tool_deactivation() { }
|
||||
virtual ErrorOr<GUI::Widget*> get_properties_widget() { return nullptr; }
|
||||
virtual Variant<Gfx::StandardCursor, NonnullRefPtr<Gfx::Bitmap>> cursor() { return Gfx::StandardCursor::None; }
|
||||
virtual Variant<Gfx::StandardCursor, NonnullRefPtr<Gfx::Bitmap const>> cursor() { return Gfx::StandardCursor::None; }
|
||||
virtual Gfx::IntPoint point_position_to_preferred_cell(Gfx::FloatPoint position) const { return position.to_type<int>(); }
|
||||
|
||||
void clear() { m_editor = nullptr; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue