From e9247353eabe28ff3a79673060e5aea9159dfe3b Mon Sep 17 00:00:00 2001 From: Krisjanis Rijnieks Date: Fri, 26 May 2017 17:16:09 +0200 Subject: [PATCH] Remove obsolete commented code --- src/Application/Application.cpp | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/src/Application/Application.cpp b/src/Application/Application.cpp index a382106..c40a088 100644 --- a/src/Application/Application.cpp +++ b/src/Application/Application.cpp @@ -6,29 +6,15 @@ namespace piMapper { Application::Application(){ _keySequence = ""; - _surfaceManager.setMediaServer(&_mediaServer); // Set initial mode setState(PresentationMode::instance()); ofHideCursor(); - // TODO: Get rid of listeners, pipe application events from the example app - /* - ofAddListener(ofEvents().keyPressed, this, &Application::onKeyPressed); - ofAddListener(ofEvents().keyReleased, this, &Application::onKeyReleased); - */ - - /* - ofAddListener(ofEvents().mousePressed, this, &Application::onMousePressed); - ofAddListener(ofEvents().mouseReleased, this, &Application::onMouseReleased); - ofAddListener(ofEvents().mouseDragged, this, &Application::onMouseDragged); - */ - ofAddListener(Gui::instance()->jointPressedEvent, this, &Application::onJointPressed); ofAddListener(Gui::instance()->surfacePressedEvent, this, &Application::onSurfacePressed); ofAddListener(Gui::instance()->backgroundPressedEvent, this, &Application::onBackgroundPressed); - ofAddListener(Gui::instance()->guiEvent, this, &Application::onGuiEvent); _lastSaveTime = 0.0f;