mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 02:27:43 +00:00
PixelPaint: Remove hand-rolled type information in favor of RTTI
This commit is contained in:
parent
ef5e9af6d3
commit
167906d02b
12 changed files with 2 additions and 22 deletions
|
@ -47,7 +47,6 @@ private:
|
|||
bool m_was_drawing { false };
|
||||
Gfx::IntPoint m_last_position;
|
||||
|
||||
virtual const char* class_name() const override { return "BrushTool"; }
|
||||
void draw_line(Gfx::Bitmap& bitmap, const Gfx::Color& color, const Gfx::IntPoint& start, const Gfx::IntPoint& end);
|
||||
void draw_point(Gfx::Bitmap& bitmap, const Gfx::Color& color, const Gfx::IntPoint& point);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue