Mercurial > hg > tweakathon2ios
diff MessageOrganiser.h @ 32:75202498bee9
perform mode (no guides at all)
author | Robert Tubb <rt300@eecs.qmul.ac.uk> |
---|---|
date | Tue, 25 Nov 2014 17:03:33 +0000 |
parents | 27cdf475aa4b |
children | 52dbd5b4cfa9 |
line wrap: on
line diff
--- a/MessageOrganiser.h Fri Nov 21 17:07:56 2014 +0000 +++ b/MessageOrganiser.h Tue Nov 25 17:03:33 2014 +0000 @@ -68,9 +68,12 @@ void setBottomPanel(ButtonPanel * ntb); void setIconPanel(IconPanel * ip); void setInstructionPanel(TextPanel * ip); + void setSeqNumPanel(TextPanel * snp); + void setScoreNumPanel(TextPanel * snp); //----------------------------------------------------------------------------- void hideMyPanels(); void showMyPanels(); + void midiFromLeap(int ctl_num, int ctl_val); protected: PDSynthWrapper candidateSynth; @@ -80,7 +83,8 @@ IconPanel* presetIconPanel; TextPanel* instructionPanel; - + TextPanel * seqNumPanel; + TextPanel * scoreNumPanel; map<int,UIElement*> currentMapping; // could get more sophisticated if not 1-1 ? vector<int> getMappingIDsFromSynths(); @@ -92,6 +96,10 @@ // we want to set UI object void setUIToParam(int index, int value); void mapControlToParam(UIElement* control, int mappingID); + + void showSeqNum(int num); + void showScoreNum(int num); + //----------------------------------------------------------------------------- void mapSlidersToParams(vector<UIElement*> elems, vector<int> mids);