Mercurial > hg > soniczoomios
comparison testApp.h @ 27:ae4d2c3ce5e0
Details. Zoom trailing finger move sorted. Qs rephrased.
author | Robert Tubb <rt300@eecs.qmul.ac.uk> |
---|---|
date | Wed, 13 Feb 2013 17:03:56 +0000 |
parents | 2e1fdac115af |
children | e2c62db1e265 |
comparison
equal
deleted
inserted
replaced
26:2e1fdac115af | 27:ae4d2c3ce5e0 |
---|---|
19 | 19 |
20 | 20 |
21 #import "QuestionnaireViewController.h" | 21 #import "QuestionnaireViewController.h" |
22 #import "BottomTabViewController.h" | 22 #import "BottomTabViewController.h" |
23 #import "IntroViewController.h" | 23 #import "IntroViewController.h" |
24 #import "HelpViewController.h" | |
24 #import "TopButtonViewController.h" | 25 #import "TopButtonViewController.h" |
25 #import "SliderViewController.h" | 26 #import "SliderViewController.h" |
26 #import "usernameAlertViewController.h" | 27 #import "usernameAlertViewController.h" |
27 | 28 |
28 #define HOST "169.254.1.1" | 29 #define HOST "169.254.1.1" |
37 | 38 |
38 interfaceType whichInterfaceShowing; | 39 interfaceType whichInterfaceShowing; |
39 BottomTabViewController *bottomTabViewController; | 40 BottomTabViewController *bottomTabViewController; |
40 UsernameAlertViewController *usernameAlertViewController; | 41 UsernameAlertViewController *usernameAlertViewController; |
41 HelpViewController *helpViewController; | 42 HelpViewController *helpViewController; |
43 QuestionnaireViewController * questionnaireViewController; | |
44 IntroViewController * introViewController; | |
45 TopButtonViewController * topButtonViewController; | |
46 SliderViewController * sliderViewController; | |
47 | |
42 int prevTouchX; | 48 int prevTouchX; |
43 int prevTouchY; | 49 int prevTouchY; |
44 double prevDist; | 50 double prevDist; |
45 bool paused; | 51 bool paused; |
46 // not many so dont bother with vectors/arrays? | 52 // not many so dont bother with vectors/arrays? |
63 | 69 |
64 vector<int> sliderVals; | 70 vector<int> sliderVals; |
65 vector<int> freqIndexes; | 71 vector<int> freqIndexes; |
66 | 72 |
67 int numActiveTouches; | 73 int numActiveTouches; |
68 | 74 bool preventingMovePostScroll; |
69 QuestionnaireViewController * questionnaireViewController; | 75 |
70 IntroViewController * introViewController; | 76 |
71 TopButtonViewController * topButtonViewController; | |
72 SliderViewController * sliderViewController; | |
73 // | 77 // |
74 | 78 |
75 void setup(); | 79 void setup(); |
76 void update(); | 80 void update(); |
77 void draw(); | 81 void draw(); |
97 void deviceOrientationChanged(int newOrientation); | 101 void deviceOrientationChanged(int newOrientation); |
98 | 102 |
99 ofxOscSender sender; | 103 ofxOscSender sender; |
100 void sendOSCParams(); | 104 void sendOSCParams(); |
101 | 105 |
106 void setupNewUser(); | |
107 | |
102 void lockSynthPressed(bool locked); | 108 void lockSynthPressed(bool locked); |
103 void lockSequencerPressed(bool locked); | 109 void lockSequencerPressed(bool locked); |
104 | 110 |
105 void showQuestionnaire(); | 111 void showQuestionnaire(); |
106 void questionnaireHidden(vector<int> answers); | 112 void questionnaireHidden(vector<int> answers); |
107 void showIntro(); | 113 void showIntro(); |
108 void introHidden(bool OK); | 114 void introHidden(bool OK); |
109 void interfaceSelected(int which); | 115 void interfaceSelected(int which); |
110 void seqStartStop(bool go); | 116 void seqStartStop(bool go); |
117 void showHelp(); | |
118 void helpHidden(); | |
111 | 119 |
112 void setupBottomGui(); | 120 void setupBottomGui(); |
113 void bottomGuiEvent(); | 121 void bottomGuiEvent(); |
114 void setupTopGui(); | 122 void setupTopGui(); |
115 void topGuiEvent(); | 123 void topGuiEvent(); |