In Tutorial: Create a basic Audio/MIDI plugin Part 2: Coding your plug-in I read that
When passing information between these two [Processor and Editor] it is best to consider the processor as the parent of the editor. There is only one plug-in processor whereas you can create multiple editors. I have however not been able to figure out how one processor can have multiple editors.
What I have thus far tried is to split up a “Main” Editor into several logical parts (see attached photo). For each of the three sections Header, Body and Footer the idea is to create separate classes that inherent from the
AudioProcessorEditor and all talk to a PluginProcessor instance. Does this way of thinking make any sense? If so, I realize that the
AudioProcessor has the createEditor (a editor, singular) function. How can I divide the Editor into subparts? What is the logical way to achieve what I am trying to do?