From 303a8e736bd697cf40690f51a588bdd9d3c0ed38 Mon Sep 17 00:00:00 2001 From: Krisjanis Rijnieks Date: Sun, 16 Oct 2016 10:01:49 +0200 Subject: [PATCH] Hide cursor on startup --- src/Application/Application.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Application/Application.cpp b/src/Application/Application.cpp index 4a8511b..2117404 100644 --- a/src/Application/Application.cpp +++ b/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);