Theme with solo and mute button for control machines
Posted: Sun Jul 13, 2014 11:05 pm
I would like to add the mute and solo button to control machines, such as Peerchord (from BTDSys). I figured out, that in my theme (which is based on oskaris dark style and strobotones xd - simplon theme) there is this part in the Machine control xaml-document:
<!--hide led and additional buttons on ControlMachine-->
<DataTrigger Binding="{Binding Path=Machine.IsControlMachine}" Value="True">
<Setter TargetName="ledButton" Property="Visibility" Value="Collapsed"/>
<Setter TargetName="soloButton" Property="Visibility" Value="Collapsed"/>
<Setter TargetName="bypassButton" Property="Visibility" Value="Collapsed"/>
</DataTrigger>
Do I have to change the values "Collapsed"? And what would that value be?
I messed around with "True" and other values that would possibly (or better said randomly) do the trick, but no – that's far beyond my knowledge.
I added to my col.file the additional color definition for control machines like this:
MV Control LED Border 000000
MV Control LED Off 000000
MV Control LED On 72ED1F
MV Control Mute 42667b
But I do not know how to link it to the xaml-file.
So does anybody know what to do to get the desired additional features in machine view ?
<!--hide led and additional buttons on ControlMachine-->
<DataTrigger Binding="{Binding Path=Machine.IsControlMachine}" Value="True">
<Setter TargetName="ledButton" Property="Visibility" Value="Collapsed"/>
<Setter TargetName="soloButton" Property="Visibility" Value="Collapsed"/>
<Setter TargetName="bypassButton" Property="Visibility" Value="Collapsed"/>
</DataTrigger>
Do I have to change the values "Collapsed"? And what would that value be?
I messed around with "True" and other values that would possibly (or better said randomly) do the trick, but no – that's far beyond my knowledge.
I added to my col.file the additional color definition for control machines like this:
MV Control LED Border 000000
MV Control LED Off 000000
MV Control LED On 72ED1F
MV Control Mute 42667b
But I do not know how to link it to the xaml-file.
So does anybody know what to do to get the desired additional features in machine view ?