Browse Source

Hide cursor on startup

master
Krisjanis Rijnieks 9 years ago
parent
commit
303a8e736b
  1. 3
      src/Application/Application.cpp

3
src/Application/Application.cpp

@ -9,8 +9,11 @@ Application::Application(){
_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);

Loading…
Cancel
Save