mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 03:37:45 +00:00
PixelPaint: No need to pass ImageEditor& to Selection::paint()
It already has a reference to the editor in m_editor.
This commit is contained in:
parent
e6f27cec39
commit
fa7bb98b1e
3 changed files with 4 additions and 4 deletions
|
@ -23,7 +23,7 @@ public:
|
|||
void set(Gfx::IntRect const& rect) { m_rect = rect; }
|
||||
Gfx::IntRect bounding_rect() const { return m_rect; }
|
||||
|
||||
void paint(Gfx::Painter&, ImageEditor const&);
|
||||
void paint(Gfx::Painter&);
|
||||
|
||||
void draw_marching_ants(Gfx::Painter&, Gfx::IntRect const&) const;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue