FR: Make AttachedControlBase in AudioProcessorValueTreeState.cpp a public facing class


I have a number of custom GUI objects for my plugins, it would be very useful to be able to create an attachment to AudioProcessorValueTreeState for them, along with an attachControl method.


I basically copied the ButtonAttachment classes and modified them for my custom classes.


+1 to making AttachedControlBase public. I’ve a few custom GUI objects which could do with having this class around to save re-implementing the functionality.

There was also mention of this in the JUCE discord recently.