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

Method buttonClicked

Source/Panels/TopPanel/Preset.cpp:730–748  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

728 }
729
730 void StateComponent::buttonClicked(juce::Button* clickedButton)
731 {
732 // if (clickedButton == &toggleABButton)
733 // {
734 // the code is moved to Editor
735 // }
736 if (clickedButton == &copyABButton)
737 procStateAB.copyAB();
738 if (clickedButton == &previousButton)
739 setPreviousPreset();
740 if (clickedButton == &nextButton)
741 setNextPreset();
742 if (clickedButton == &savePresetButton)
743 savePresetAlertWindow();
744 //if (clickedButton == &deletePresetButton)
745 // deletePresetAndRefresh();
746 if (clickedButton == &menuButton)
747 popPresetMenu();
748 }
749
750 void StateComponent::markAsDirty()
751 {

Callers

nothing calls this directly

Calls 1

copyABMethod · 0.80

Tested by

no test coverage detected