| 217 | } |
| 218 | |
| 219 | void ofxTLUIHeader::setValueMin(float min){ |
| 220 | if(getTrackType() == "Curves" || getTrackType() == "LFO"){ |
| 221 | minDialer->setValue(min); |
| 222 | ((ofxTLKeyframes*)getTrack())->setValueRangeMin(min); |
| 223 | } |
| 224 | else{ |
| 225 | ofLogError("ofxTLUIHeader::setValueMax") << "Cannot set min value on tracks that aren't curves"; |
| 226 | } |
| 227 | } |
| 228 | |
| 229 | void ofxTLUIHeader::setValueMax(float max){ |
| 230 | if(getTrackType() == "Curves" || getTrackType() == "LFO"){ |