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

Method toggleAB

Source/Panels/TopPanel/Preset.cpp:147–153  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

145 }
146
147 void StateAB::toggleAB()
148 {
149 juce::XmlElement temp { "Temp" };
150 saveStateToXml(pluginProcessor, temp); // current to temp
151 loadStateFromXml(ab, pluginProcessor); // ab to current
152 ab = temp; // temp to ab
153 }
154
155 void StateAB::copyAB()
156 {

Callers 1

buttonClickedMethod · 0.80

Calls 2

saveStateToXmlFunction · 0.85
loadStateFromXmlFunction · 0.85

Tested by

no test coverage detected