Skip to content

Commit

Permalink
- Added more details to gamesettings ring chart
Browse files Browse the repository at this point in the history
- Changed default background of game view
  • Loading branch information
Yelo420 committed Jan 7, 2024
1 parent 22756f6 commit 9416ced
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 5 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ Recommended Gamevault Server Version: `v10.1.0`
- Improved error messages
- Sort installed games by last played
- The download icon in the game view now changes depending on whether the game has already been downloaded
- Added more details to gamesettings ring chart
- Changed default background of game view

## 1.8.1
Recommended Gamevault Server Version: `v10.0.2`
Expand Down
2 changes: 1 addition & 1 deletion gamevault/Helper/CacheHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ internal static async Task<BitmapImage> HandleImageCacheAsync(int identifier, in
}
default:
{
return BitmapHelper.GetBitmapImage("pack://application:,,,/gamevault;component/Resources/Images/gameView_NoBackground.png");
return BitmapHelper.GetBitmapImage("pack://application:,,,/gamevault;component/Resources/Images/gameView_NoBackground.jpg");
}
}
}
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed gamevault/Resources/Images/gameView_NoBackground.png
Binary file not shown.
4 changes: 2 additions & 2 deletions gamevault/UserControls/GameSettingsUserControl.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -162,8 +162,8 @@
<local:IconButton Content="Open Directory" Icon="{DynamicResource IconGameSettingsFolder}" Width="145" Height="33" Margin="10,0,0,0" MouseLeftButtonUp="OpenDirectory_Click"/>
</StackPanel>
<TextBlock Text="Disk Usage" FontSize="15" FontWeight="Bold" TextDecorations="Underline" Margin="0,20,0,0"/>
<lvc:PieChart x:Name="uiDiscUsagePieChart" Width="300" Height="300" InitialRotation="-90" IsClockwise="True" HorizontalAlignment="Left" Margin="0,10,0,0"/>
<StackPanel Margin="100,0,0,0" HorizontalAlignment="Left">
<lvc:PieChart x:Name="uiDiscUsagePieChart" Width="600" Height="300" InitialRotation="-90" IsClockwise="True" HorizontalAlignment="Left" Margin="0,10,0,0" LegendPosition="Right"/>
<StackPanel Margin="132,0,0,0" HorizontalAlignment="Left">
<TextBlock Text="Total Disk Size" FontSize="15" FontWeight="Bold" />
<TextBlock x:Name="uiTxtAllInstalledGamesSize" FontSize="15" FontWeight="Bold" HorizontalAlignment="Center"/>
</StackPanel>
Expand Down
1 change: 1 addition & 0 deletions gamevault/UserControls/GameSettingsUserControl.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,7 @@ private void InitDiskUsagePieChart()
App.Current.Dispatcher.Invoke((Action)delegate
{
uiTxtAllInstalledGamesSize.Text = gameSizeConverter.Convert(drive.TotalSize, null, null, null).ToString();
uiDiscUsagePieChart.LegendTextPaint = new SolidColorPaint(new SkiaSharp.SKColor(255, 255, 255));
uiDiscUsagePieChart.Series = sliceSeries;
});
});
Expand Down
4 changes: 2 additions & 2 deletions gamevault/gamevault.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

<ItemGroup>
<None Remove="Resources\Images\com_NoUserIcon.png" />
<None Remove="Resources\Images\gameView_NoBackground.png" />
<None Remove="Resources\Images\gameView_NoBackground.jpg" />
<None Remove="Resources\Images\glyph_admin.png" />
<None Remove="Resources\Images\glyph_community.png" />
<None Remove="Resources\Images\glyph_download.png" />
Expand All @@ -45,7 +45,7 @@

<ItemGroup>
<Resource Include="Resources\Images\com_NoUserIcon.png" />
<Resource Include="Resources\Images\gameView_NoBackground.png" />
<Resource Include="Resources\Images\gameView_NoBackground.jpg" />
<Resource Include="Resources\Images\glyph_admin.png" />
<Resource Include="Resources\Images\glyph_community.png" />
<Resource Include="Resources\Images\glyph_download.png" />
Expand Down

0 comments on commit 9416ced

Please sign in to comment.