diff --git a/src/UserInterface/SourcesEditor.cpp b/src/UserInterface/SourcesEditor.cpp index d555266..74c6332 100644 --- a/src/UserInterface/SourcesEditor.cpp +++ b/src/UserInterface/SourcesEditor.cpp @@ -19,7 +19,6 @@ SourcesEditor::SourcesEditor(){ void SourcesEditor::init(){ mediaServer = 0; // Pointers to 0 pointer so we can check later isMediaServerExternal = false; - registerAppEvents(); } SourcesEditor::SourcesEditor(MediaServer * externalMediaServer){ @@ -39,14 +38,6 @@ SourcesEditor::~SourcesEditor(){ clearMediaServer(); } -void SourcesEditor::registerAppEvents(){ - //ofAddListener(ofEvents().setup, this, &SourcesEditor::setup); -} - -void SourcesEditor::unregisterAppEvents(){ - //ofRemoveListener(ofEvents().setup, this, &SourcesEditor::setup); -} - void SourcesEditor::setup(){ // Get media count int numImages = mediaServer->getNumImages(); diff --git a/src/UserInterface/SourcesEditor.h b/src/UserInterface/SourcesEditor.h index 45233ca..f643ab2 100644 --- a/src/UserInterface/SourcesEditor.h +++ b/src/UserInterface/SourcesEditor.h @@ -21,9 +21,6 @@ class SourcesEditor { SourcesEditor(MediaServer * externalMediaServer); ~SourcesEditor(); - void registerAppEvents(); - void unregisterAppEvents(); - void setup(); void draw(); void loadImage(string name, string path);