MCPcopy Create free account
hub / github.com/YCAMInterlab/Duration / setValueMin

Method setValueMin

Duration/src/ofxTLUIHeader.cpp:219–227  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

217}
218
219void 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
229void ofxTLUIHeader::setValueMax(float max){
230 if(getTrackType() == "Curves" || getTrackType() == "LFO"){

Callers 1

handleOscInMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected