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

Method togglePluginUI

plugins/VstEffect/VstEffectControlDialog.cpp:303–318  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

301
302
303void VstEffectControlDialog::togglePluginUI( bool checked )
304{
305 if( !m_plugin ) {
306 return;
307 }
308
309 if ( m_togglePluginButton->isChecked() != checked ) {
310 m_togglePluginButton->setChecked( checked );
311 }
312
313 if ( checked ) {
314 m_plugin->showUI();
315 } else {
316 m_plugin->hideUI();
317 }
318}
319

Callers 1

createViewMethod · 0.80

Calls 2

showUIMethod · 0.45
hideUIMethod · 0.45

Tested by

no test coverage detected