|
|
|
|
@ -0,0 +1,26 @@ |
|
|
|
|
<ResourceDictionary xmlns="https://github.com/avaloniaui" |
|
|
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
|
|
|
|
xmlns:viewModels="clr-namespace:Mystify.ViewModels" |
|
|
|
|
xmlns:themes="clr-namespace:Mystify.Resources.Themes"> |
|
|
|
|
<ResourceDictionary.MergedDictionaries> |
|
|
|
|
<ResourceDictionary> |
|
|
|
|
<SolidColorBrush x:Key="ChannelForeground" Color="{x:Static themes:DarkTheme.MAIN_LIGHT}"/> |
|
|
|
|
<SolidColorBrush x:Key="ButtonMouseOverForeground" Color="{x:Static themes:DarkTheme.BUTTON_MOUSE_OVER_BACKGROUND}"/> |
|
|
|
|
</ResourceDictionary> |
|
|
|
|
|
|
|
|
|
<ResourceInclude Source="/Resources/Icons/Icons.axaml"/> |
|
|
|
|
</ResourceDictionary.MergedDictionaries> |
|
|
|
|
|
|
|
|
|
<DataTemplate x:Key="ChannelTemplate" DataType="{x:Type viewModels:ChannelViewModel}"> |
|
|
|
|
<Border Width="100" Height="400" Margin="10" BorderThickness="1" BorderBrush="{StaticResource ChannelForeground}"> |
|
|
|
|
<Button Command="{Binding SelectControllableCommand}" |
|
|
|
|
HorizontalAlignment="Stretch" VerticalAlignment="Stretch"> |
|
|
|
|
<ContentControl Template="{StaticResource Add}" |
|
|
|
|
Height="40" Width="40" |
|
|
|
|
HorizontalAlignment="Center" VerticalAlignment="Center" |
|
|
|
|
Foreground="{StaticResource ChannelForeground}" |
|
|
|
|
IsVisible="{Binding !IsControllableMapped}"/> |
|
|
|
|
</Button> |
|
|
|
|
</Border> |
|
|
|
|
</DataTemplate> |
|
|
|
|
</ResourceDictionary> |