Skip to content

Commit

Permalink
Starfield logo added
Browse files Browse the repository at this point in the history
  • Loading branch information
Noggog committed Sep 17, 2023
1 parent 1014659 commit 42097c0
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 7 deletions.
14 changes: 7 additions & 7 deletions Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -41,25 +41,25 @@
<Version>17.5.0</Version>
</PackageVersion>
<PackageVersion Include="Mutagen.Bethesda">
<Version>[0.42.0.1-zdev]</Version>
<Version>[0.43.0.1-nightly-20230917-100122]</Version>
</PackageVersion>
<PackageVersion Include="Mutagen.Bethesda.Autofac">
<Version>[0.42.0.1-zdev]</Version>
<Version>[0.43.0.1-nightly-20230917-100122]</Version>
</PackageVersion>
<PackageVersion Include="Mutagen.Bethesda.Core">
<Version>[0.42.0.1-zdev]</Version>
<Version>[0.43.0.1-nightly-20230917-100122]</Version>
</PackageVersion>
<PackageVersion Include="Mutagen.Bethesda.Json">
<Version>[0.42.0.1-zdev]</Version>
<Version>[0.43.0.1-nightly-20230917-100122]</Version>
</PackageVersion>
<PackageVersion Include="Mutagen.Bethesda.Kernel">
<Version>[0.42.0.1-zdev]</Version>
<Version>[0.43.0.1-nightly-20230917-100122]</Version>
</PackageVersion>
<PackageVersion Include="Mutagen.Bethesda.Testing">
<Version>[0.42.0.1-zdev]</Version>
<Version>[0.43.0.1-nightly-20230917-100122]</Version>
</PackageVersion>
<PackageVersion Include="Mutagen.Bethesda.WPF">
<Version>[0.42.0.1-zdev]</Version>
<Version>[0.43.0.1-nightly-20230917-100122]</Version>
</PackageVersion>
<PackageVersion Include="Newtonsoft.Json">
<Version>13.0.3</Version>
Expand Down
2 changes: 2 additions & 0 deletions Synthesis.Bethesda.GUI/Resources/ResourceConstants.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ public static class ResourceConstants
public static readonly string FalloutLargeIcon = Path.Combine(ResourceFolder, "Fallout4.png");
public static readonly string EnderalLeLargeIcon = Path.Combine(ResourceFolder, "enderal.png");
public static readonly string EnderalSeLargeIcon = Path.Combine(ResourceFolder, "enderal-se.png");
public static readonly string StarfieldLargeIcon = Path.Combine(ResourceFolder, "starfield.png");
public static string GetIcon(GameRelease release)
{
return release switch
Expand All @@ -27,6 +28,7 @@ public static string GetIcon(GameRelease release)
GameRelease.Fallout4 => FalloutLargeIcon,
GameRelease.EnderalLE => EnderalLeLargeIcon,
GameRelease.EnderalSE => EnderalSeLargeIcon,
GameRelease.Starfield => StarfieldLargeIcon,
_ => throw new NotImplementedException()
};
}
Expand Down
Binary file added Synthesis.Bethesda.GUI/Resources/starfield.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: 2 additions & 0 deletions Synthesis.Bethesda.GUI/Synthesis.Bethesda.GUI.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,8 @@
<Resource Include="Resources\enderal.png" />
<None Remove="Resources\enderal-se.png" />
<Resource Include="Resources\enderal-se.png" />
<None Remove="Resources\starfield.png" />
<Resource Include="Resources\starfield.png" />
</ItemGroup>

<ItemGroup>
Expand Down
3 changes: 3 additions & 0 deletions Synthesis.Bethesda.GUI/Views/Profiles/GameIconView.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@
<DataTrigger Binding="{Binding}" Value="{x:Static muta:GameCategory.Fallout4}">
<Setter Property="Source" Value="../../Resources/Fallout4.png" />
</DataTrigger>
<DataTrigger Binding="{Binding}" Value="{x:Static muta:GameCategory.Starfield}">
<Setter Property="Source" Value="../../Resources/starfield.png" />
</DataTrigger>
</Style.Triggers>
</Style>
</Image.Style>
Expand Down

0 comments on commit 42097c0

Please sign in to comment.