Hi,
I have created a GUI with the VST GUI editor. There is a CParamDisplay element in the UI which is connected to a parameter and updates continuously. While that parameter is shown I would like to change the color from time to time. For this purpose, I add a sub controller tag and obtain a pointer reference to my CParamDisplay element. Now, I can set the color if the right condition is detected.
However, unfortunately, when setting up the sub controller, the automatic parameter binding seems to stop working. What I then did was to add the function to update the CParamDisplay element by calling setDirty() in the setParamNormalized function and using the string conversion function lambda to address the right parameter - which works. But is that really the recommended way to handle it? Or can I somehow re-attach the parameter binding even when attaching a sub controller?
Thank you and best regards
Hauke