MCPcopy Create free account
hub / github.com/LMMS/lmms / displayAutomatedOnly

Method displayAutomatedOnly

plugins/VstEffect/VstEffectControls.cpp:469–489  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

467
468
469void manageVSTEffectView::displayAutomatedOnly( void )
470{
471 bool isAuto = QString::compare( m_displayAutomatedOnly->text(), tr( "Automated" ) ) == 0;
472
473 for( int i = 0; i< m_vi2->paramCount; i++ )
474 {
475
476 if( !( m_vi2->knobFModel[ i ]->isAutomated() ||
477 m_vi2->knobFModel[ i ]->controllerConnection() ) )
478 {
479 if( vstKnobs[ i ]->isVisible() == true && isAuto )
480 {
481 vstKnobs[ i ]->hide();
482 m_displayAutomatedOnly->setText( "All" );
483 } else {
484 vstKnobs[ i ]->show();
485 m_displayAutomatedOnly->setText( "Automated" );
486 }
487 }
488 }
489}
490
491
492

Callers

nothing calls this directly

Calls 3

isAutomatedMethod · 0.45
setTextMethod · 0.45
showMethod · 0.45

Tested by

no test coverage detected