Mercurial > hg > tweakathon2ios
comparison MessageOrganiser.h @ 43:4ad0d218f890
can skip runs if it crashed etc.
author | Robert Tubb <rt300@eecs.qmul.ac.uk> |
---|---|
date | Mon, 15 Dec 2014 12:51:09 +0000 |
parents | fea11c3d1d94 |
children | 2396eb9dcddd |
comparison
equal
deleted
inserted
replaced
42:2bd658b44c2d | 43:4ad0d218f890 |
---|---|
65 void mapButtonToAction(UIElement* control, int mappingID); | 65 void mapButtonToAction(UIElement* control, int mappingID); |
66 void setupDefaultMapping(controlPanelType whichInterfaceAreWeUsing); | 66 void setupDefaultMapping(controlPanelType whichInterfaceAreWeUsing); |
67 void setControlPanel(SliderPanel* p); | 67 void setControlPanel(SliderPanel* p); |
68 void setBottomPanel(ButtonPanel * ntb); | 68 void setBottomPanel(ButtonPanel * ntb); |
69 void setIconPanel(IconPanel * ip); | 69 void setIconPanel(IconPanel * ip); |
70 void setSkipButton(Buttron* b); | |
70 void setInstructionPanel(TextPanel * ip); | 71 void setInstructionPanel(TextPanel * ip); |
71 void setSeqNumPanel(TextPanel * snp); | 72 void setSeqNumPanel(TextPanel * snp); |
72 void setScoreNumPanel(TextPanel * snp); | 73 void setScoreNumPanel(TextPanel * snp); |
73 void setDistanceSlider(ButtronSlider * s); | 74 void setDistanceSlider(ButtronSlider * s); |
75 void setMiddlePanel(TextPanel* tp); | |
74 //----------------------------------------------------------------------------- | 76 //----------------------------------------------------------------------------- |
75 void hideMyPanels(); | 77 void hideMyPanels(); |
76 void showMyPanels(); | 78 void showMyPanels(); |
77 void midiFromLeap(int ctl_num, int ctl_val); | 79 void midiFromLeap(int ctl_num, int ctl_val); |
78 void setPanelType(controlPanelType p); | 80 void setPanelType(controlPanelType p); |
86 | 88 |
87 IconPanel* presetIconPanel; | 89 IconPanel* presetIconPanel; |
88 TextPanel* instructionPanel; | 90 TextPanel* instructionPanel; |
89 TextPanel * seqNumPanel; | 91 TextPanel * seqNumPanel; |
90 TextPanel * scoreNumPanel; | 92 TextPanel * scoreNumPanel; |
93 TextPanel* middlePanel; | |
91 map<int,UIElement*> currentMapping; // could get more sophisticated if not 1-1 ? | 94 map<int,UIElement*> currentMapping; // could get more sophisticated if not 1-1 ? |
92 | 95 |
93 vector<int> getMappingIDsFromSynths(); | 96 vector<int> getMappingIDsFromSynths(); |
94 void triggerCandidateSound(); | 97 void triggerCandidateSound(); |
95 void paramChangeCallback(int mappingID, int value); | 98 void paramChangeCallback(int mappingID, int value); |
117 void showTargetAsHints(); | 120 void showTargetAsHints(); |
118 bool onlyChangeCandidateOnTrigger; | 121 bool onlyChangeCandidateOnTrigger; |
119 bool okToGetMidi; | 122 bool okToGetMidi; |
120 controlPanelType panelType; | 123 controlPanelType panelType; |
121 ButtronSlider * distanceSlider; | 124 ButtronSlider * distanceSlider; |
125 Buttron* skipButton; | |
126 | |
122 }; | 127 }; |
123 | 128 |