This is probably an easy question but I can’t seem to find a good solution.
I have an AudioProcessorEditor class which contains a tabbedComponent. In this, there are going to be 1-4 components.
The AudioProcessorEditor component will have some methods for communicating with the AudioProcessor plugin ( eg. adding a node or removing a node from a graph ). The children components should be able to access these methods as well.
Whats the ideal solution for something like that? At the moment I’m thinking of just passing a pointer (from the parent component) to the children components and just doing it that way. Doesn’t seem that tidy though.