MCPcopy Create free account
hub / github.com/apohl79/audiogridder / updateToolsOnOffButton

Method updateToolsOnOffButton

Plugin/Source/PluginEditor.cpp:1426–1436  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1424}
1425
1426void PluginEditor::updateToolsOnOffButton() {
1427 int active = m_processor.getActivePlugin();
1428 if (active > -1) {
1429 auto& loadedPlug = m_processor.getLoadedPlugin(active);
1430 if (loadedPlug.monoChannels.isOutputActive(loadedPlug.activeChannel)) {
1431 hilightToolsButton(&m_toolsButtonOnOff);
1432 } else {
1433 unhilightToolsButton(&m_toolsButtonOnOff);
1434 }
1435 }
1436}
1437
1438void PluginEditor::editPlugin(int idx, int channel) {
1439 traceScope();

Callers

nothing calls this directly

Calls 2

getActivePluginMethod · 0.80
isOutputActiveMethod · 0.80

Tested by

no test coverage detected