E:\Devel\Playnite\source\Tools\Playnite.Toolbox\Templates\Themes\Changelog\1.8.0-1.9.0\Desktop\Views\MainPanel.xaml | E:\Devel\Playnite\source\Playnite.DesktopApp\Themes\Desktop\Default\Views\MainPanel.xaml | ||
---|---|---|---|
<ResourceDictionary xmlns="http://schemas.microsoft.com/win |
<ResourceDictionary xmlns="http://schemas.microsoft.com/win |
||
xmlns:x="http://schemas.microsoft.com/w |
xmlns:x="http://schemas.microsoft.com/w |
||
xmlns:mc="http://schemas.openxmlformats |
xmlns:mc="http://schemas.openxmlformats |
||
xmlns:d="http://schemas.microsoft.com/e |
xmlns:d="http://schemas.microsoft.com/e |
||
mc:Ignorable="d"> |
mc:Ignorable="d"> |
||
|
|
||
<Style TargetType="{x:Type MainPanel}"> |
<Style TargetType="{x:Type MainPanel}"> |
||
<Setter Property="Template"> |
<Setter Property="Template"> |
||
<Setter.Value> |
<Setter.Value> |
||
<ControlTemplate TargetType="{x:Type MainPanel}"> |
<ControlTemplate TargetType="{x:Type MainPanel}"> |
||
<Border Height="50" BorderBrush="{DynamicResource PanelSeparatorBrush}" |
<Border Height="50" BorderBrush="{DynamicResource PanelSeparatorBrush}" |
||
Background="{TemplateBinding Background}" |
Background="{TemplateBinding Background}" |
||
d:DesignWidth="1280" |
d:DesignWidth="1280" |
||
d:DataContext="{x:Static DesignMainViewModel.DesignIntance}"> |
d:DataContext="{x:Static DesignMainViewModel.DesignIntance}"> |
||
<Border.Style> |
<Border.Style> |
||
<Style TargetType="Border"> |
<Style TargetType="Border"> |
||
<Setter Property="BorderThickness" Value="0,0,0,1" /> |
<Setter Property="BorderThickness" Value="0,0,0,1" /> |
||
<Style.Triggers> |
<Style.Triggers> |
||
<DataTrigger Binding="{Settings ShowPanelSeparators}" Value="False"> |
<DataTrigger Binding="{Settings ShowPanelSeparators}" Value="False"> |
||
<Setter Property="BorderThickness" Value="0" /> |
<Setter Property="BorderThickness" Value="0" /> |
||
</DataTrigger> |
</DataTrigger> |
||
</Style.Triggers> |
</Style.Triggers> |
||
</Style> |
</Style> |
||
</Border.Style> |
</Border.Style> |
||
<DockPanel Margin="0,3,110,3"> |
<DockPanel Margin="0,3,110,3"> |
||
<Border x:Name="PART_ElemMainMenu" Background="Transparent" |
<Border x:Name="PART_ElemMainMenu" Background="Transparent" |
||
DockPanel.Dock="Left" Margin="5,0,0,0" Cursor="Hand" |
DockPanel.Dock="Left" Margin="5,0,0,0" Cursor="Hand" |
||
WindowChrome.IsHitTestVisibleInChrome=" |
WindowChrome.IsHitTestVisibleInChrome=" |
||
<Image Source="{ThemeFile 'Images/applogo.png'}" |
<Image Source="{ThemeFile 'Images/applogo.png'}" |
||
Height="40" RenderOptions.BitmapScalingMode="Fant" |
Height="40" RenderOptions.BitmapScalingMode="Fant" |
||
Margin="10,0,5,0"/> |
Margin="10,0,5,0"/> |
||
</Border> |
</Border> |
||
|
|
||
<SearchBox x:Name="PART_TextMainSearch" |
<SearchBox x:Name="PART_TextMainSearch" |
||
Margin="5,6,0,6" DockPanel.Dock="Left" |
Margin="5,6,0,6" DockPanel.Dock="Left" |
||
WindowChrome.IsHitTestVisibleInChrome=" |
WindowChrome.IsHitTestVisibleInChrome=" |
||
Width="300" /> |
Width="300" /> |
||
|
|
||
<Border x:Name="PART_ElemViewMenu" Background="Transparent" |
<Border x:Name="PART_ElemViewMenu" Background="Transparent" |
||
DockPanel.Dock="Left" Margin="10,6,0,6" Width="35" |
DockPanel.Dock="Left" Margin="10,6,0,6" Width="35" |
||
WindowChrome.IsHitTestVisibleInChrome=" |
WindowChrome.IsHitTestVisibleInChrome=" |
||
Style="{DynamicResource HighlightBorder}"> |
Style="{DynamicResource HighlightBorder}"> |
||
<TextBlock Text="⋯" FontSize="26" |
<TextBlock Text="⋯" FontSize="26" |
||
Foreground="{DynamicResource TextBrush}" |
Foreground="{DynamicResource TextBrush}" |
||
VerticalAlignment="Center" HorizontalAlignment="Center"/> |
VerticalAlignment="Center" HorizontalAlignment="Center"/> |
||
</Border> |
</Border> |
||
|
|
||
<CheckBox x:Name="PART_ToggleFilter" |
<CheckBox x:Name="PART_ToggleFilter" |
||
WindowChrome.IsHitTestVisibleInChrome=" |
WindowChrome.IsHitTestVisibleInChrome=" |
||
DockPanel.Dock="Left" Margin="10,6,0,6" MinWidth="35"> |
DockPanel.Dock="Left" Margin="10,6,0,6" MinWidth="35"> |
||
<CheckBox.Style> |
<CheckBox.Style> |
||
<Style TargetType="CheckBox"> |
<Style TargetType="CheckBox"> |
||
. | |
<Setter Property="Background" Value="Transparent" /> |
|
<Setter Property="Template"> |
<Setter Property="Template"> |
||
<Setter.Value> |
<Setter.Value> |
||
<ControlTemplate> |
<ControlTemplate> |
||
<Border Style="{DynamicResource HighlightBorder}" |
<Border Style="{DynamicResource HighlightBorder}" |
||
. | Background="Transparent"> |
Background="{TemplateBinding Background}"> |
|
<StackPanel Orientation="Horizontal" Margin="6,0,6,0"> |
<StackPanel Orientation="Horizontal" Margin="6,0,6,0"> |
||
<TextBlock Text="" |
<TextBlock Text="" |
||
FontFamily="{DynamicResource FontIcoFont}" FontSize="20" |
FontFamily="{DynamicResource FontIcoFont}" FontSize="20" |
||
VerticalAlignment="Center" HorizontalAlignment="Center" |
VerticalAlignment="Center" HorizontalAlignment="Center" |
||
. | Foreground="{TemplateBinding Foreground}"/> |
Foreground="{DynamicResource TextBrush}"/> |
|
<TextBlock Text="{DynamicResource LOCFilterActiveLabel}" |
<TextBlock Text="{DynamicResource LOCFilterActiveLabel}" |
||
Style="{DynamicResource BaseTextBlockStyle}" |
Style="{DynamicResource BaseTextBlockStyle}" |
||
Margin="3,0,0,0" VerticalAlignment="Center" |
Margin="3,0,0,0" VerticalAlignment="Center" |
||
Name="TextFilter" /> |
Name="TextFilter" /> |
||
</StackPanel> |
</StackPanel> |
||
</Border> |
</Border> |
||
<ControlTemplate.Triggers> |
<ControlTemplate.Triggers> |
||
<Trigger Property="Tag" Value="{StaticResource True}"> |
<Trigger Property="Tag" Value="{StaticResource True}"> |
||
. | <Setter Property="Foreground" Value="{DynamicResource GlyphBrush}" /> |
|
|
<Setter Property="Visibility" Value="Visible" TargetName="TextFilter" /> |
<Setter Property="Visibility" Value="Visible" TargetName="TextFilter" /> |
||
. | |
<Setter Property="Background" Value="{DynamicResource NormalBrush}" /> |
|
</Trigger> |
</Trigger> |
||
<Trigger Property="Tag" Value="{StaticResource False}"> |
<Trigger Property="Tag" Value="{StaticResource False}"> |
||
. | <Setter Property="Foreground" Value="{DynamicResource TextBrush}" /> |
|
|
<Setter Property="Visibility" Value="Collapsed" TargetName="TextFilter" /> |
<Setter Property="Visibility" Value="Collapsed" TargetName="TextFilter" /> |
||
</Trigger> |
</Trigger> |
||
</ControlTemplate.Triggers> |
</ControlTemplate.Triggers> |
||
</ControlTemplate> |
</ControlTemplate> |
||
</Setter.Value> |
</Setter.Value> |
||
</Setter> |
</Setter> |
||
</Style> |
</Style> |
||
</CheckBox.Style> |
</CheckBox.Style> |
||
</CheckBox> |
</CheckBox> |
||
|
|
||
<CheckBox x:Name="PART_ToggleNotifications" |
<CheckBox x:Name="PART_ToggleNotifications" |
||
WindowChrome.IsHitTestVisibleInChrome=" |
WindowChrome.IsHitTestVisibleInChrome=" |
||
DockPanel.Dock="Left" Margin="10,6,0,6"> |
DockPanel.Dock="Left" Margin="10,6,0,6"> |
||
<CheckBox.Style> |
<CheckBox.Style> |
||
<Style TargetType="ToggleButton"> |
<Style TargetType="ToggleButton"> |
||
<Setter Property="Foreground" Value="{DynamicResource GlyphBrush}" /> |
<Setter Property="Foreground" Value="{DynamicResource GlyphBrush}" /> |
||
<Setter Property="Template"> |
<Setter Property="Template"> |
||
<Setter.Value> |
<Setter.Value> |
||
<ControlTemplate> |
<ControlTemplate> |
||
<Border Background="Transparent"> |
<Border Background="Transparent"> |
||
<Grid> |
<Grid> |
||
<TextBlock Text="" FontFamily="{DynamicResource FontIcoFont}" FontSize="24" |
<TextBlock Text="" FontFamily="{DynamicResource FontIcoFont}" FontSize="24" |
||
Foreground="{TemplateBinding Foreground}" |
Foreground="{TemplateBinding Foreground}" |
||
HorizontalAlignment="Center"/> |
HorizontalAlignment="Center"/> |
||
<Border CornerRadius="3" Width="15" Height="15" |
<Border CornerRadius="3" Width="15" Height="15" |
||
Margin="20,0,0,0" |
Margin="20,0,0,0" |
||
HorizontalAlignment="Right" |
HorizontalAlignment="Right" |
||
VerticalAlignment="Bottom" |
VerticalAlignment="Bottom" |
||
Background="OrangeRed"> |
Background="OrangeRed"> |
||
<TextBlock Text="{Api Notifications.Count}" FontSize="12" |
<TextBlock Text="{Api Notifications.Count}" FontSize="12" |
||
Foreground="{DynamicResource TextBrush}" |
Foreground="{DynamicResource TextBrush}" |
||
HorizontalAlignment="Center" VerticalAlignment="Center"/> |
HorizontalAlignment="Center" VerticalAlignment="Center"/> |
||
</Border> |
</Border> |
||
</Grid> |
</Grid> |
||
</Border> |
</Border> |
||
</ControlTemplate> |
</ControlTemplate> |
||
</Setter.Value> |
</Setter.Value> |
||
</Setter> |
</Setter> |
||
<Style.Triggers> |
<Style.Triggers> |
||
<DataTrigger Binding="{Api Notifications.Count}" Value="0"> |
<DataTrigger Binding="{Api Notifications.Count}" Value="0"> |
||
<Setter Property="Visibility" Value="Collapsed"/> |
<Setter Property="Visibility" Value="Collapsed"/> |
||
</DataTrigger> |
</DataTrigger> |
||
<Trigger Property="IsMouseOver" Value="True"> |
<Trigger Property="IsMouseOver" Value="True"> |
||
<Setter Property="Foreground" Value="{DynamicResource TextBrush}" /> |
<Setter Property="Foreground" Value="{DynamicResource TextBrush}" /> |
||
</Trigger> |
</Trigger> |
||
</Style.Triggers> |
</Style.Triggers> |
||
</Style> |
</Style> |
||
</CheckBox.Style> |
</CheckBox.Style> |
||
</CheckBox> |
</CheckBox> |
||
|
|
||
<Button Name="PART_ButtonSteamFriends" |
<Button Name="PART_ButtonSteamFriends" |
||
Margin="15,6,5,6" DockPanel.Dock="Right" |
Margin="15,6,5,6" DockPanel.Dock="Right" |
||
Background="Transparent" |
Background="Transparent" |
||
Padding="0" BorderThickness="0" |
Padding="0" BorderThickness="0" |
||
WindowChrome.IsHitTestVisibleInChrome=" |
WindowChrome.IsHitTestVisibleInChrome=" |
||
ToolTip="{DynamicResource LOCSteamFriendsTooltip}"> |
ToolTip="{DynamicResource LOCSteamFriendsTooltip}"> |
||
<TextBlock Text="" FontFamily="{StaticResource FontIcoFont}" FontSize="24" |
<TextBlock Text="" FontFamily="{StaticResource FontIcoFont}" FontSize="24" |
||
VerticalAlignment="Center" HorizontalAlignment="Center"/> |
VerticalAlignment="Center" HorizontalAlignment="Center"/> |
||
</Button> |
</Button> |
||
|
|
||
<StackPanel Orientation="Horizontal" DockPanel.Dock="Left" |
<StackPanel Orientation="Horizontal" DockPanel.Dock="Left" |
||
HorizontalAlignment="Center" Margin="0,5,0,5"> |
HorizontalAlignment="Center" Margin="0,5,0,5"> |
||
<Grid MaxWidth="600" MinWidth="300"> |
<Grid MaxWidth="600" MinWidth="300"> |
||
<ProgressBar Name="PART_ProgressGlobal" /> |
<ProgressBar Name="PART_ProgressGlobal" /> |
||
<TextBlock Name="PART_TextProgressText" |
<TextBlock Name="PART_TextProgressText" |
||
VerticalAlignment="Center" HorizontalAlignment="Center" |
VerticalAlignment="Center" HorizontalAlignment="Center" |
||
Style="{DynamicResource BaseTextBlockStyle}" Margin="5,0,5,0" /> |
Style="{DynamicResource BaseTextBlockStyle}" Margin="5,0,5,0" /> |
||
</Grid> |
</Grid> |
||
|
|
||
<Button Name="PART_ButtonProgressCancel" |
<Button Name="PART_ButtonProgressCancel" |
||
Content="{DynamicResource LOCCancelLabel}" |
Content="{DynamicResource LOCCancelLabel}" |
||
WindowChrome.IsHitTestVisibleInChrome=" |
WindowChrome.IsHitTestVisibleInChrome=" |
||
Margin="5,0,0,0" /> |
Margin="5,0,0,0" /> |
||
</StackPanel> |
</StackPanel> |
||
</DockPanel> |
</DockPanel> |
||
</Border> |
</Border> |
||
</ControlTemplate> |
</ControlTemplate> |
||
</Setter.Value> |
</Setter.Value> |
||
</Setter> |
</Setter> |
||
</Style> |
</Style> |
||
</ResourceDictionary> |
</ResourceDictionary> |