Mercurial > hg > tweakathon2ios
comparison UI code/sliderPanel.h @ 37:52dbd5b4cfa9
slider feedback and textures
author | Robert Tubb <rt300@eecs.qmul.ac.uk> |
---|---|
date | Wed, 03 Dec 2014 11:38:26 +0000 |
parents | a677c027e3a0 |
children |
comparison
equal
deleted
inserted
replaced
36:146033869165 | 37:52dbd5b4cfa9 |
---|---|
50 void setBgColor(ofColor c); | 50 void setBgColor(ofColor c); |
51 vector<UIElement*> generateControls(vector<controllerType> elemList, controlPanelType panelType); | 51 vector<UIElement*> generateControls(vector<controllerType> elemList, controlPanelType panelType); |
52 | 52 |
53 UIElement* getSlider(int index); | 53 UIElement* getSlider(int index); |
54 void setHintTexture(ofImage* texture); | 54 void setHintTexture(ofImage* texture); |
55 void setIndicatorTexture(ofImage* texture); | 55 void setIndicatorTexture(ofImage* texture = NULL); |
56 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); | 57 void animateToNewValues(vector<int> newTargetValues, float timeToTake); |
58 void showValueIndicators(bool show); | 58 void showValueIndicators(bool show); |
59 void update(); | 59 void update(); |
60 controlPanelType getPanelType(){ | 60 controlPanelType getPanelType(){ |