From 3baf7e68c29a5a37f9317aeb0f4e75252a9e4530 Mon Sep 17 00:00:00 2001 From: Tim Redfern Date: Fri, 22 Jun 2018 18:16:10 +0100 Subject: chaos selecter progress --- gui/src/ofApp.h | 26 +++++++++++++++++++++++--- 1 file changed, 23 insertions(+), 3 deletions(-) (limited to 'gui/src/ofApp.h') diff --git a/gui/src/ofApp.h b/gui/src/ofApp.h index 41418b3..29c6929 100644 --- a/gui/src/ofApp.h +++ b/gui/src/ofApp.h @@ -39,6 +39,9 @@ enum Source{ class mouseSelectPanel : public ofxPanel { public: + mouseSelectPanel(){ + ofRegisterKeyEvents(this, defaultEventsPriority); + } bool isSelected; bool mouseMoved(ofMouseEventArgs & args){ if (args.x>getPosition().x&& @@ -47,7 +50,7 @@ class mouseSelectPanel : public ofxPanel { args.y-getPosition().y "< "<