Mercurial > hg > tweakathon2ios
comparison UI code/sliderPanel.h @ 31:a677c027e3a0
Demo to Simon, kinda works.
4 reps of sequence.
author | Robert Tubb <rt300@eecs.qmul.ac.uk> |
---|---|
date | Fri, 21 Nov 2014 17:07:56 +0000 |
parents | 953db6518738 |
children | 52dbd5b4cfa9 |
comparison
equal
deleted
inserted
replaced
30:78b51f924ec1 | 31:a677c027e3a0 |
---|---|
36 float aheight, | 36 float aheight, |
37 const UIProps& aprops, | 37 const UIProps& aprops, |
38 vector<controllerType> elemList); | 38 vector<controllerType> elemList); |
39 | 39 |
40 void setAndShowHint(vector<int> values, ofImage* texture); | 40 void setAndShowHint(vector<int> values, ofImage* texture); |
41 void setHintNoShow(vector<int> values, ofImage* texture); | |
41 | 42 |
42 void showHint(bool value); | 43 void showHint(bool value); |
43 // | 44 // |
44 void setHintValues(vector<int> vals); | 45 void setHintValues(vector<int> vals); |
45 void setValues(vector<int> vals); | 46 void setValues(vector<int> vals); |
51 | 52 |
52 UIElement* getSlider(int index); | 53 UIElement* getSlider(int index); |
53 void setHintTexture(ofImage* texture); | 54 void setHintTexture(ofImage* texture); |
54 void setIndicatorTexture(ofImage* texture); | 55 void setIndicatorTexture(ofImage* texture); |
55 void animateToNewHintValues(vector<int> newTargetValues, float timeToTake, ofImage* newTexture); | 56 void animateToNewHintValues(vector<int> newTargetValues, float timeToTake, ofImage* newTexture); |
57 void animateToNewValues(vector<int> newTargetValues, float timeToTake); | |
56 void showValueIndicators(bool show); | 58 void showValueIndicators(bool show); |
57 void update(); | 59 void update(); |
58 controlPanelType getPanelType(){ | 60 controlPanelType getPanelType(){ |
59 return thisPanelType; | 61 return thisPanelType; |
60 } | 62 } |