Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: felixkmh/DH_Themes
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: DH_DawnV1.4.0
Choose a base ref
...
head repository: felixkmh/DH_Themes
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref
  • 14 commits
  • 17 files changed
  • 3 contributors

Commits on Jan 6, 2023

  1. Copy the full SHA
    e9ff555 View commit details

Commits on Jan 14, 2023

  1. Copy the full SHA
    1c1b18c View commit details

Commits on Jan 18, 2023

  1. Merge pull request #8 from CanRanBan/main

    Match .NET Framework version of Playnite
    felixkmh authored Jan 18, 2023
    Copy the full SHA
    771d881 View commit details

Commits on Jan 20, 2023

  1. GridMode fixes

    felixkmh committed Jan 20, 2023
    Copy the full SHA
    9587906 View commit details
  2. Copy the full SHA
    f1dfa50 View commit details
  3. Copy the full SHA
    5b9d1e4 View commit details
  4. Copy the full SHA
    556bbe0 View commit details

Commits on Jan 27, 2023

  1. fix: Loading issue

    felixkmh committed Jan 27, 2023
    Copy the full SHA
    a2e189d View commit details
  2. Copy the full SHA
    dba3eab View commit details
  3. Copy the full SHA
    f0a0870 View commit details

Commits on Jul 23, 2023

  1. Add files via upload

    Linx-ESP authored Jul 23, 2023
    Copy the full SHA
    804496d View commit details

Commits on Jul 24, 2023

  1. Merge pull request #15 from Linx-ESP/main

    Show Epic Games Store banner for Legendary Launcher
    felixkmh authored Jul 24, 2023
    Copy the full SHA
    5ae2e29 View commit details

Commits on Aug 13, 2023

  1. replaced screenshots

    felixkmh committed Aug 13, 2023
    Copy the full SHA
    0f404c3 View commit details
  2. Copy the full SHA
    b789377 View commit details
20 changes: 20 additions & 0 deletions InstallerManifest/felixkmh_DesktopTheme_DH_Dawn.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,25 @@
AddonId: felixkmh_DesktopTheme_DH_Dawn
Packages:
- Version: 1.6
RequiredApiVersion: 2.4.0
ReleaseDate: 2023-01-27
PackageUrl: https://github.com/felixkmh/DH_Themes/releases/download/DH_DawnV1.6.0/felixkmh_DesktopTheme_DH_Dawn_1_6.pthm
Changelog:
- Fixed loading issue if a game has SuccessStory data
- Version: 1.5
RequiredApiVersion: 2.4.0
ReleaseDate: 2023-01-20
PackageUrl: https://github.com/felixkmh/DH_Themes/releases/download/DH_DawnV1.5.0/felixkmh_DesktopTheme_DH_Dawn_1_5.pthm
Changelog:
- Added close button for DetailsToGridViewConverter
- Version: 1.4
RequiredApiVersion: 2.4.0
ReleaseDate: 2023-01-07
PackageUrl: https://github.com/felixkmh/DH_Themes/releases/download/DH_DawnV1.4.0/felixkmh_DesktopTheme_DH_Dawn_1_4.pthm
Changelog:
- Added option to show community score under the game cover in grid view (disabled by default)
- Added option to show game status (running, launching, etc.) on a banner in grid view (enabled by default)
- Tweaked drop shadow in grid view
- Version: 1.3
RequiredApiVersion: 2.4.0
ReleaseDate: 2022-12-22
6 changes: 6 additions & 0 deletions InstallerManifest/felixkmh_DuplicateHider_Night_Theme.yaml
Original file line number Diff line number Diff line change
@@ -133,3 +133,9 @@ Packages:
PackageUrl: https://github.com/felixkmh/DH_Themes/releases/download/v2.9.0/felixkmh_DuplicateHider_Night_Theme_2_9.pthm
Changelog:
- selecting sources in grid view also changes the cover image
- Version: 3.0
RequiredApiVersion: 2.0.0
ReleaseDate: 2023-01-20
PackageUrl: https://github.com/felixkmh/DH_Themes/releases/download/DH_Nightv3.0/felixkmh_DuplicateHider_Night_Theme_3_0.pthm
Changelog:
- DetailsToGridViewConverter support
Binary file modified Screenshot_Night.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Screenshot_Night_Thumb.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion source/Blur/Theme.csproj
Original file line number Diff line number Diff line change
@@ -9,7 +9,7 @@
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>Theme</RootNamespace>
<AssemblyName>Theme</AssemblyName>
<TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.6.2</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<Deterministic>true</Deterministic>
</PropertyGroup>
2 changes: 1 addition & 1 deletion source/DH_Dawn/DefaultControls/ProgressBar.xaml
Original file line number Diff line number Diff line change
@@ -41,7 +41,7 @@
<ColumnDefinition Width="1*" x:Name="PostGrid"/>
</Grid.ColumnDefinitions>
<Border Grid.Column="0" x:Name="WidthProxy"/>
<Grid x:Name="Animation" Visibility="Hidden" Grid.ColumnSpan="2">
<Grid x:Name="Animation" Visibility="Collapsed" Grid.ColumnSpan="2">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto"/>
<ColumnDefinition Width="*"/>
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 2 additions & 1 deletion source/DH_Dawn/Theme.csproj
Original file line number Diff line number Diff line change
@@ -9,7 +9,7 @@
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>Theme</RootNamespace>
<AssemblyName>Theme</AssemblyName>
<TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.6.2</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<Deterministic>true</Deterministic>
</PropertyGroup>
@@ -81,6 +81,7 @@
<ItemGroup>
<None Include="theme.yaml" />
<None Include="themeExtras.yaml" />
<None Include="themeGridConverter.yaml" />
<None Include="thememodifier.yaml" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
2 changes: 2 additions & 0 deletions source/DH_Dawn/Views/DetailsViewGameOverview.xaml
Original file line number Diff line number Diff line change
@@ -1821,6 +1821,8 @@
</Grid>
</Grid>
</ScrollViewer>

<!--GridConverterGridPanelCloseButton-->
</Grid>
<ControlTemplate.Triggers>
<DataTrigger Binding="{Binding Tag, ElementName=CoverGrid}" Value="{StaticResource False}">
2 changes: 1 addition & 1 deletion source/DH_Dawn/theme.yaml
Original file line number Diff line number Diff line change
@@ -2,4 +2,4 @@ ThemeApiVersion: 2.4.0
Id: felixkmh_DesktopTheme_DH_Dawn
Name: DH_Dawn
Author: felixkmh
Version: 1.4
Version: 1.6
5 changes: 5 additions & 0 deletions source/DH_Dawn/themeGridConverter.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Replacements:
- OriginalBlock: "<!--GridConverterGridPanelCloseButton-->"
ReplacementBlock: >
<Button HorizontalAlignment="Right" VerticalAlignment="Top" Content="r" FontFamily="Marlett" Style="{DynamicResource SimpleButton}" Command="{MainViewModel CloseGameSideBarCommand}" Margin="15" />
Removals:
152 changes: 152 additions & 0 deletions source/Night/Common.xaml
Original file line number Diff line number Diff line change
@@ -32,4 +32,156 @@
<Setter Property="BorderBrush" Value="{DynamicResource PopupBorderBrush}" />
<Setter Property="BorderThickness" Value="{DynamicResource PopupBorderThickness}" />
</Style>

<Style x:Key="DuplicateHider_ContentControlHeader_Style" TargetType="ContentControl">
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="ContentControl">
<Grid>
<!--
DataContext has an ObservableCollection called Games
containing all copys of the Game in the current context (inlcuding itself).
Each entry is of Type
ListData {
Playnite.SDK.Models.Game Game;
Boolean IsCurrent; // True if this copy eqal to the current GameContext property.
BitmapImage Icon; // Source Icon
String SourceName; // Source name. Use this rather than Game.Source.Name,
// because Source might be null.
ICommand LaunchCommand;
ICommand SelectCommand;
ICommand InstallCommand;
ICommand UninstallCommand;
}
-->
<ItemsControl
x:Name="DH_ListBox"
Focusable="False"
IsTextSearchEnabled="False"
ItemsSource="{Binding Games}"
VirtualizingPanel.VirtualizationMode="Recycling">
<ItemsControl.ItemsPanel>
<ItemsPanelTemplate>
<WrapPanel Orientation="Horizontal" />
</ItemsPanelTemplate>
</ItemsControl.ItemsPanel>
<ItemsControl.ItemTemplate>
<DataTemplate>
<Grid ClipToBounds="True">
<Border
x:Name="_ItemBorder"
Background="Transparent"
BorderThickness="0"
OpacityMask="{DynamicResource BottomFadingBrush}"
Margin="0,0,0,2"/>
<StackPanel Margin="0,3,0,0" >
<!-- StackPanel containing icon and source name of a game. -->
<StackPanel
x:Name="_Item"
Background="Transparent"
Orientation="Horizontal"
Effect="{DynamicResource TextDropShadow}">
<Image
MaxHeight="20"
Margin="5,0,5,0"
VerticalAlignment="Center"
DockPanel.Dock="Left"
RenderOptions.BitmapScalingMode="Fant"
Source="{Binding Icon}" />
<TextBlock
x:Name="_SourceText"
Margin="5,0,5,0"
VerticalAlignment="Center"
Foreground="White"
Text="{Binding SourceName}" Style="{DynamicResource BaseTextBlockStyle}"/>
</StackPanel>
<!-- Rectangle used to indicate the currently selected copy. -->
<Rectangle
x:Name="_Rect"
Height="2"
Margin="0,3,0,0"
VerticalAlignment="Bottom"
RenderTransformOrigin="0.5,0"
Visibility="Visible"
Fill="{DynamicResource WindowBackgourndBrushHighlight}">
<!--<Rectangle.Fill>
<SolidColorBrush Color="{StaticResource GlyphColor}" />
</Rectangle.Fill>-->
<Rectangle.RenderTransform>
<ScaleTransform x:Name="_RectScale" ScaleX="0" />
</Rectangle.RenderTransform>
</Rectangle>
</StackPanel>
<!-- Binding gestures to commands. -->
<Grid.InputBindings>
<MouseBinding Command="{Binding LaunchCommand}" Gesture="LeftDoubleClick" />
<MouseBinding Command="{Binding SelectCommand}" Gesture="LeftClick" />
</Grid.InputBindings>
</Grid>
<DataTemplate.Triggers>
<!-- Workaround to prevent the animation when switching to a copy of a game for the first time -->
<!--#region Workaround-->
<DataTrigger Binding="{Binding DataContext.SwitchedGroup, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type ItemsControl}}}" Value="True">
<Setter Property="Rectangle.Visibility" Value="{Binding IsCurrent, Converter={StaticResource BooleanToVisibilityConverter}}" TargetName="_Rect"/>
<Setter Property="Rectangle.RenderTransform" TargetName="_Rect">
<Setter.Value>
<ScaleTransform ScaleX="1" />
</Setter.Value>
</Setter>
</DataTrigger>
<!--#endregion-->
<!-- Animation for the selection bar below the selected item. -->
<DataTrigger Binding="{Binding IsCurrent}" Value="True">
<DataTrigger.EnterActions>
<BeginStoryboard>
<Storyboard>
<DoubleAnimation
Storyboard.TargetName="_RectScale"
Storyboard.TargetProperty="(ScaleTransform.ScaleX)"
To="1"
Duration="0:0:0.2">
<DoubleAnimation.EasingFunction>
<CubicEase />
</DoubleAnimation.EasingFunction>
</DoubleAnimation>
</Storyboard>
</BeginStoryboard>
</DataTrigger.EnterActions>
<DataTrigger.ExitActions>
<BeginStoryboard>
<Storyboard>
<DoubleAnimation
Storyboard.TargetName="_RectScale"
Storyboard.TargetProperty="(ScaleTransform.ScaleX)"
To="0"
Duration="0:0:0.2">
<DoubleAnimation.EasingFunction>
<CubicEase />
</DoubleAnimation.EasingFunction>
</DoubleAnimation>
</Storyboard>
</BeginStoryboard>
</DataTrigger.ExitActions>
</DataTrigger>
<DataTrigger Binding="{Binding IsCurrent}" Value="False">
<Setter Property="Cursor" Value="Hand"/>
</DataTrigger>
<Trigger Property="IsMouseOver" Value="True">
<!-- MouseOver glow effect. -->
<!--<Setter TargetName="_SourceText" Property="Foreground" Value="{DynamicResource GlyphBrush}"/>-->
<Setter TargetName="_ItemBorder" Property="Background" Value="{DynamicResource WindowBackgourndBrushHighlight}"/>
</Trigger>
<!-- Make items for unisntalled games slightly transparent. -->
<DataTrigger Binding="{Binding Game.IsInstalled}" Value="False">
<Setter TargetName="_Item" Property="Opacity" Value="0.5" />
</DataTrigger>
</DataTemplate.Triggers>
</DataTemplate>
</ItemsControl.ItemTemplate>
</ItemsControl>
</Grid>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
</ResourceDictionary>
1 change: 1 addition & 0 deletions source/Night/Theme.csproj
Original file line number Diff line number Diff line change
@@ -80,6 +80,7 @@
<ItemGroup>
<None Include="packages.config" />
<None Include="theme.yaml" />
<None Include="themeGridConverter.yaml" />
<None Include="thememodifier.yaml" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
Loading