Probably simple but this simpleton can't figure it.
I want the pad_menu button to show different colours depending on a variable
I first defined a new button
<define class="routinemenubutton">
<size width="12" height="12"/>
<off shape="circle" color="green" border_size="3" border="bordercolor2"/>
<over shape="circle" color="textoff2" border_size="3" border="bordercolor2"/>
<selected shape="circle" color="green" border_size="3" border="bordercolor2"/>
</define>
and I pointed the pads panels at that name, but I can't figure out how to make the off color change depending on a variable.
have I got it wrong, should I be using a visual?
I want the pad_menu button to show different colours depending on a variable
I first defined a new button
<define class="routinemenubutton">
<size width="12" height="12"/>
<off shape="circle" color="green" border_size="3" border="bordercolor2"/>
<over shape="circle" color="textoff2" border_size="3" border="bordercolor2"/>
<selected shape="circle" color="green" border_size="3" border="bordercolor2"/>
</define>
and I pointed the pads panels at that name, but I can't figure out how to make the off color change depending on a variable.
have I got it wrong, should I be using a visual?
Posted Thu 30 Jan 20 @ 3:18 pm
Yes, the only way to get a "dynamic" color element is to use a visual.
So, you define the visual to handle the colors and then you draw it above (or behind) of the elements you want.
So, you define the visual to handle the colors and then you draw it above (or behind) of the elements you want.
Posted Thu 30 Jan 20 @ 4:31 pm
nice one, thanks for the reply.
Posted Thu 30 Jan 20 @ 4:52 pm