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

Method setValueMax

Duration/src/ofxTLUIHeader.cpp:229–237  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

227}
228
229void ofxTLUIHeader::setValueMax(float max){
230 if(getTrackType() == "Curves" || getTrackType() == "LFO"){
231 maxDialer->setValue(max);
232 ((ofxTLKeyframes*)getTrack())->setValueRangeMin(max);
233 }
234 else{
235 ofLogError("ofxTLUIHeader::setValueMax") << "Cannot set max value on tracks that aren't curves";
236 }
237}
238
239ofxUICanvas* ofxTLUIHeader::getGui(){
240 return gui;

Callers 1

handleOscInMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected