mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 12:57:34 +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
|
@ -42,9 +42,6 @@ public:
|
|||
virtual void on_context_menu(Layer&, GUI::ContextMenuEvent&) override;
|
||||
|
||||
private:
|
||||
virtual const char* class_name() const override { return "MoveTool"; }
|
||||
virtual bool is_move_tool() const override { return true; }
|
||||
|
||||
RefPtr<Layer> m_layer_being_moved;
|
||||
Gfx::IntPoint m_event_origin;
|
||||
Gfx::IntPoint m_layer_origin;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue