From 31c332da9ab426daa73b68772d0ef9c1b0744a50 Mon Sep 17 00:00:00 2001 From: Loic Guegan Date: Sun, 1 Jan 2023 17:25:27 +0100 Subject: Decouple editor event from the Draw class --- src/CGEditor.hpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/CGEditor.hpp') diff --git a/src/CGEditor.hpp b/src/CGEditor.hpp index d30d05e..e463170 100644 --- a/src/CGEditor.hpp +++ b/src/CGEditor.hpp @@ -27,8 +27,6 @@ protected: void Draw(); /// @brief Draw an element on the canvas virtual void DrawElement(const Element &) = 0; - /// @brief Handle event that occured during editor drawing - virtual void HandleEvent(const Event &) = 0; public: CGEditor(); -- cgit v1.2.3