MCPcopy Create free account
hub / github.com/jerryuhoo/Fire / exitAssignMode

Method exitAssignMode

Source/PluginEditor.cpp:866–885  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

864}
865
866void FireAudioProcessorEditor::exitAssignMode()
867{
868 if (! isLfoAssignMode)
869 return;
870
871 isLfoAssignMode = false;
872 lfoPanel.assignButton.setToggleState(false, juce::dontSendNotification);
873
874 // Iterate through all modulatable sliders, clear their callback functions and stop flashing.
875 for (auto* slider : bandPanel.getModulatableSliders())
876 {
877 slider->onClickInAssignMode = nullptr;
878 slider->assignModeGlowAlpha = 0.0f;
879 }
880 for (auto* slider : globalPanel.getModulatableSliders())
881 {
882 slider->onClickInAssignMode = nullptr;
883 slider->assignModeGlowAlpha = 0.0f;
884 }
885}
886
887void FireAudioProcessorEditor::changeListenerCallback(juce::ChangeBroadcaster* source)
888{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected