mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 05:17:34 +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
|
@ -52,7 +52,7 @@ void CloneTool::draw_line(Gfx::Bitmap& bitmap, Gfx::Color color, Gfx::IntPoint s
|
|||
BrushTool::draw_line(bitmap, color, start, end);
|
||||
}
|
||||
|
||||
Variant<Gfx::StandardCursor, NonnullRefPtr<Gfx::Bitmap>> CloneTool::cursor()
|
||||
Variant<Gfx::StandardCursor, NonnullRefPtr<Gfx::Bitmap const>> CloneTool::cursor()
|
||||
{
|
||||
if (m_is_selecting_location)
|
||||
return Gfx::StandardCursor::Eyedropper;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue