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

Method getHeaderWithDisplayName

Duration/src/DurationController.cpp:1199–1208  ·  view source on GitHub ↗

--------------------------------------------------------------

Source from the content-addressed store, hash-verified

1197
1198//--------------------------------------------------------------
1199ofPtr<ofxTLUIHeader> DurationController::getHeaderWithDisplayName(string name){
1200 map<string, ofPtr<ofxTLUIHeader> >::iterator trackit;
1201 for(trackit = headers.begin(); trackit != headers.end(); trackit++){
1202 if(trackit->second->getTrack()->getDisplayName() == name){
1203 return trackit->second;
1204 }
1205 }
1206 //same as null
1207 return ofPtr<ofxTLUIHeader>();
1208}
1209
1210//--------------------------------------------------------------
1211void DurationController::draw(ofEventArgs& args){

Callers

nothing calls this directly

Calls 1

getTrackMethod · 0.80

Tested by

no test coverage detected