aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/CGEditor.cpp6
-rw-r--r--src/CGEditor.hpp2
2 files changed, 0 insertions, 8 deletions
diff --git a/src/CGEditor.cpp b/src/CGEditor.cpp
index 4edf95e..737db39 100644
--- a/src/CGEditor.cpp
+++ b/src/CGEditor.cpp
@@ -40,12 +40,6 @@ void CGEditor::Draw() {
DrawComponent(SBH);
DrawComponent(ME);
- // Handle events
- for (Event &e : status.Events) {
- HandleEvent(e);
- }
- status.Events.clear();
-
// Update mouse events
status.LeftClick = false;
status.RightClick = false;
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();