Mercurial > hg > tweakathon2ios
comparison MessageOrganiser.h @ 17:2a7320a8cbed
explore mode shows stuff, can go thru saving various presets.
author | Robert Tubb <rt300@eecs.qmul.ac.uk> |
---|---|
date | Tue, 21 Oct 2014 18:58:25 +0100 |
parents | 2da0350a4aa2 |
children | 36cdb73691da |
comparison
equal
deleted
inserted
replaced
16:2da0350a4aa2 | 17:2a7320a8cbed |
---|---|
71 UICallbackFunction callbackF; | 71 UICallbackFunction callbackF; |
72 callbackF = boost::bind(&MessageOrganiser::buttonPressCallback, this, _1,_2); | 72 callbackF = boost::bind(&MessageOrganiser::buttonPressCallback, this, _1,_2); |
73 control->addHandler(callbackF, mappingID); | 73 control->addHandler(callbackF, mappingID); |
74 currentMapping.insert(std::pair<int,UIElement*>(mappingID,control)); | 74 currentMapping.insert(std::pair<int,UIElement*>(mappingID,control)); |
75 } | 75 } |
76 | |
77 | |
76 void setControlPanel(SliderPanel* p){ // a bit specific?? | 78 void setControlPanel(SliderPanel* p){ // a bit specific?? |
77 panel = p; | 79 panel = p; |
78 | 80 |
79 }; | 81 }; |
80 void setBottomPanel(ButtonPanel * ntb){ | 82 void setBottomPanel(ButtonPanel * ntb){ |