1
Fork 0
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:
Andreas Kling 2021-01-01 15:55:48 +01:00
parent ef5e9af6d3
commit 167906d02b
12 changed files with 2 additions and 22 deletions

View file

@ -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);
};