diff --git a/src/UserInterface/ProjectionEditor.cpp b/src/UserInterface/ProjectionEditor.cpp index 1d6103d..4dd8290 100644 --- a/src/UserInterface/ProjectionEditor.cpp +++ b/src/UserInterface/ProjectionEditor.cpp @@ -27,23 +27,12 @@ void ProjectionEditor::unregisterAppEvents(){ &ProjectionEditor::gotMessage); } -void ProjectionEditor::registerMouseEvents(){ - ofAddListener(ofEvents().mouseDragged, this, &ProjectionEditor::mouseDragged); -} - -void ProjectionEditor::unregisterMouseEvents(){ - ofRemoveListener(ofEvents().mouseDragged, this, - &ProjectionEditor::mouseDragged); -} - void ProjectionEditor::enable(){ registerAppEvents(); - registerMouseEvents(); } void ProjectionEditor::disable(){ unregisterAppEvents(); - unregisterMouseEvents(); } void ProjectionEditor::update(){ diff --git a/src/UserInterface/ProjectionEditor.h b/src/UserInterface/ProjectionEditor.h index 98ccf91..5eb5776 100644 --- a/src/UserInterface/ProjectionEditor.h +++ b/src/UserInterface/ProjectionEditor.h @@ -14,8 +14,6 @@ class ProjectionEditor { void registerAppEvents(); void unregisterAppEvents(); - void registerMouseEvents(); - void unregisterMouseEvents(); void enable(); void disable();