Skip to content

Commit

Permalink
v0.9.0
Browse files Browse the repository at this point in the history
__Changes__
 * Grid banner variant available (in releases).
 * Comprehensive responsive, symbol-oriented details information revamp.
 * Rudimentary logo positioning support - rename logo.png to logo-l.png or logo-r.png
 * Localized tooltips for icons.
 * Background mode formatting option for details view that is suited for those using more square background images for their games (as opposed to hero/banner style images). Available to ThemeModifier or in Constants.xaml
 * Stuff that I forgot.
  • Loading branch information
Tally authored Feb 2, 2021
1 parent 1800870 commit a4f3568
Show file tree
Hide file tree
Showing 7 changed files with 846 additions and 463 deletions.
8 changes: 5 additions & 3 deletions Constants.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
<SolidColorBrush x:Key="TooltipBackgroundBrush" Color="{DynamicResource BackgroundToneColor}" />
<SolidColorBrush x:Key="ButtonBackgroundBrush" Color="{DynamicResource ButtonBackgroundColor}"/>
<SolidColorBrush x:Key="GridItemBackgroundBrush" Color="{DynamicResource GridItemBackgroundColor}" Opacity="0.7 "/>
<SolidColorBrush x:Key="PanelSeparatorBrush" Color="{DynamicResource PanelSeparatorColor}" Opacity="0.7"/>
<SolidColorBrush x:Key="PanelSeparatorBrush" Color="{DynamicResource PanelSeparatorColor}" Opacity="1"/>
<SolidColorBrush x:Key="PopupBackgroundBrush" Color="{DynamicResource PopupBackgroundColor}" />

<SolidColorBrush x:Key="PositiveRatingBrush" Color="#78ffa0" />
Expand Down Expand Up @@ -71,19 +71,21 @@
<sys:Boolean x:Key="UseAbsoluteExtraMetadataPath">false</sys:Boolean>
<sys:String x:Key="ExtraMetadataPath">..\..\..\..</sys:String>
<sys:String x:Key="AboutGameText">About the Game</sys:String>
<sys:Boolean x:Key="BGModeOn">false</sys:Boolean>

<sys:Double x:Key="ControlCornerRadiusDouble">0</sys:Double>
<sys:Double x:Key="GroupSeparatorOpacity">1</sys:Double>
<FontFamily x:Key="SymbolFont">segoeuisym.ttf#Segoe UI Symbol</FontFamily>
<FontFamily x:Key="SymbolFont">seguisym.ttf#Segoe UI Symbol</FontFamily>
<Visibility x:Key="TitleTextVisibility">Visible</Visibility>
<sys:Double x:Key="DetailsViewPanelWidth">1080</sys:Double>
<sys:Double x:Key="DetailsViewPanelWidth">1280</sys:Double>

<!-- Magpie-Specific Colors -->
<Color x:Key="ButtonBackgroundColor">#2b2b2b</Color>
<Color x:Key="PlayButtonColor">#4BC937</Color>
<Color x:Key="ContextButtonColor">#385DA2</Color>
<Color x:Key="ContextButtonHighlightColor">#5C63BB</Color>
<Color x:Key="ClearFilterButtonColor">#e34141</Color>
<Color x:Key="PopupBackgroundTransparent">#00121212</Color>

<SolidColorBrush x:Key="CoverHighlightBrush" Color="#20FFFFFF" />

Expand Down
1 change: 1 addition & 0 deletions DerivedStyles/PlayButton.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
<Setter Property="BorderBrush" Value="{DynamicResource PlayBorderBrush}" />
<Setter Property="BorderThickness" Value="{DynamicResource ControlBorderThickness}" />
<Setter Property="Padding" Value="10,5,10,5" />
<Setter Property="VerticalAlignment" Value="Stretch"/>
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="{x:Type Button}">
Expand Down
901 changes: 599 additions & 302 deletions Views/DetailsViewGameOverview.xaml

Large diffs are not rendered by default.

370 changes: 223 additions & 147 deletions Views/GridViewGameOverview.xaml

Large diffs are not rendered by default.

15 changes: 10 additions & 5 deletions Views/LibraryGridView.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,16 @@
</Style>
</TextBlock.Style>
</TextBlock>
<StackPanel Margin="5" Orientation="Horizontal" Grid.Row="1">
<Label FontFamily="{DynamicResource SymbolFont}" Content="&#xe12e;" Foreground="{DynamicResource TextBrushDarker}" Margin="10,0,10,0"/>
<Border>
<SliderWithPopup x:Name="PART_SliderZoom" />
</Border>
<StackPanel Margin="5" Orientation="Horizontal" Grid.Row="1" HorizontalAlignment="Left">
<Label FontFamily="{DynamicResource SymbolFont}" Content="&#xE1D8;" Foreground="{DynamicResource TextBrushDarker}" Margin="10,0,10,0"/>
<SliderWithPopup x:Name="PART_SliderZoom" />
<Label FontFamily="{DynamicResource SymbolFont}" Content="&#xE1D9;" Foreground="{DynamicResource TextBrushDarker}" Margin="10,0,10,0"/>
<StackPanel.Effect>
<DropShadowEffect ShadowDepth="0"
Color="Black"
Opacity="1"
BlurRadius="2"/>
</StackPanel.Effect>
</StackPanel>
</Grid>
</DockPanel>
Expand Down
10 changes: 6 additions & 4 deletions Views/Sidebar.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,22 @@
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
mc:Ignorable="d">

<Style TargetType="{x:Type Sidebar}">
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="{x:Type Sidebar}">
<Border BorderThickness="0,0,1,0" BorderBrush="{DynamicResource PanelSeparatorBrush}"
x:Name="BorderContentHolder" Background="{DynamicResource TitlebarBrush}">
<DockPanel x:Name="DockContentHolder">
<DockPanel x:Name="DockContentHolder">
<Border x:Name="PART_ElemMainMenu" Background="Transparent"
Width="44" Height="44" Margin="0,0,0,5"
DockPanel.Dock="Top" Padding="5" Cursor="Hand"
WindowChrome.IsHitTestVisibleInChrome="True">
<Image Source="{ThemeFile 'Images/applogo_white.ico'}"
RenderOptions.BitmapScalingMode="Fant" />
<Viewbox>
<Label Content="&#x2261;" FontFamily="{DynamicResource SymbolFont}"
FontSize="48" Margin="0,-18,0,-8"/>
</Viewbox>
</Border>

<ItemsControl x:Name="PART_ListSideBarItems"
Expand Down
4 changes: 2 additions & 2 deletions theme.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ ThemeApiVersion: 1.9.0
Id: Magpie_Desktop
Name: Magpie
Author: Dan Davis
Version: 0.8.4
Version: 0.9.0
Constants:
- BGModeOn: Off for banners on for backgrounds in details.
- UseAbsoluteExtraMetadataPath: Use absolute path to your Playnite config folder.
- ExtraMetadataPath: That path; no ending backslash.
- AboutGameText: About the Game DIY Localization.
- DetailsViewPanelWidth(640,2560): Width of main details view panel.
- TitleTextVisibility: Visibility of Title shown if missing logo.
- TitlebarBrush: Titlebar background.
Expand Down

0 comments on commit a4f3568

Please sign in to comment.