Mercurial > hg > soniczoomios
diff testApp.mm @ 38:0dfe9e0c01aa
Evnt trails fit with uploads. Smooth button.
author | Robert Tubb <rt300@eecs.qmul.ac.uk> |
---|---|
date | Wed, 10 Apr 2013 18:57:05 +0100 |
parents | 8ed7522deaaa |
children | df7c08faf541 |
line wrap: on
line diff
--- a/testApp.mm Tue Apr 09 17:14:31 2013 +0100 +++ b/testApp.mm Wed Apr 10 18:57:05 2013 +0100 @@ -231,17 +231,29 @@ eventLogger.questionnaireAnswersObtained(answers, userComments); // tell bottomtabviewcontroller to show and select both interface - interfaceSelected(BOTH); + interfaceSelected(1); [bottomTabViewController show:(id)this withSelection:1]; + [topButtonViewController enableSmoothSwitch:(id)this]; } //-------------------------------------------------------------- // shortcut function for testing void testApp::justStart(){ - interfaceSelected(BOTH); + interfaceSelected(1); [bottomTabViewController show:(id)this withSelection:1]; - + [topButtonViewController enableSmoothSwitch:(id)this]; +} +//-------------------------------------------------------------- +void testApp::setInterp(int state){ + if(state == 0){ + theGridView.setInterpolation(Grid::NO_INTERPOLATION); + }else if(state == 1){ + theGridView.setInterpolation(Grid::INTERPOLATE_GRID); + } + // tell sliders and PD + setAllGUISliders(theGridView.getParams()); + sendParametersToPD(); } //-------------------------------------------------------------- void testApp::showIntro(){