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

Method handleAsyncUpdate

Source/PluginEditor.cpp:849–864  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

847}
848
849void FireAudioProcessorEditor::handleAsyncUpdate()
850{
851 // This function is now the single entry point after a successful assignment.
852
853 // 1. First, formally exit the assignment mode and clean up all related states.
854 exitAssignMode();
855
856 // 2. Then, repaint all panels.
857 // Since the modulation relationship has now been established in the Processor,
858 // updateSliderState in timerCallback will get the latest state and display it correctly.
859 bandPanel.repaint();
860 globalPanel.repaint();
861
862 // 3. Finally, repaint the entire editor to ensure all UI elements are synchronized.
863 repaint();
864}
865
866void FireAudioProcessorEditor::exitAssignMode()
867{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected