View bound to multiple parameters

A user interface toolkit mainly for audio plug-ins (VST, AudioUnit, etc).
Post Reply
User avatar
Posts: 118
Joined: Sun Mar 11, 2018 5:57 pm
Location: Las Vegas, USA

View bound to multiple parameters

Post by pongasoft »

I have a view (a CTextLabel) which needs to be controlled (= bound) to 2 parameters:

* the first parameter is the value that needs to be displayed (in this case a volume level in dB)
* the 2nd parameter is the color of the text (red/orange/green)

as seen in this screenshot
Screen Shot 2018-06-03 at 08.51.56.png
How would I go about implementing something like this?

You do not have the required permissions to view the files attached to this post.

Arne Scheffler
Posts: 380
Joined: Mon Jun 20, 2016 7:53 am

Re: View bound to multiple parameters

Post by Arne Scheffler »

I think the best approach is to use a sub controller for the second parameter.


Post Reply