Skip to content

Commit

Permalink
DetailsView: Change some details icons
Browse files Browse the repository at this point in the history
  • Loading branch information
darklinkpower committed Dec 21, 2024
1 parent 521cb26 commit c554285
Showing 1 changed file with 18 additions and 4 deletions.
22 changes: 18 additions & 4 deletions source/Views/DetailsViewGameOverview.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -1028,7 +1028,10 @@
</WrapPanel.Resources>
<DockPanel Visibility="{Binding Visibility, ElementName=PART_ElemLastPlayed, Mode=OneWay}" Margin="0,5,12,5">
<Viewbox Stretch="Uniform" Height="28">
<TextBlock Text="&#xEC45;" FontFamily="{StaticResource FontIcoFont}" Foreground="{DynamicResource DetailsPanelFillIconBackgroundBrush}" />
<Canvas Width="896" Height="896">
<Path Fill="{DynamicResource DetailsPanelFillIconBackgroundBrush}"
Data="M772 64C797 64.0001 820.917 69.0834 843.75 79.25C866.583 89.4167 886.583 103.083 903.75 120.25C920.917 137.417 934.583 157.417 944.75 180.25C954.917 203.083 960 227 960 252L960 772C960 797 954.917 820.917 944.75 843.75C934.583 866.583 920.917 886.583 903.75 903.75C886.583 920.917 866.583 934.583 843.75 944.75C820.917 954.917 797 960 772 960L252 960C227 960 203.083 954.917 180.25 944.75C157.417 934.583 137.417 920.917 120.25 903.75C103.083 886.583 89.4167 866.583 79.25 843.75C69.0833 820.917 64 797 64 772L64 252C64 227 69.0833 203.083 79.25 180.25C89.4167 157.417 103.083 137.417 120.25 120.25C137.417 103.083 157.417 89.4167 180.25 79.25C203.083 69.0834 227 64.0001 252 64ZM253.5 128C236.5 128 220.333 131.5 205 138.5C189.667 145.5 176.333 154.833 165 166.5C153.667 178.167 144.667 191.75 138 207.25C131.333 222.75 128 239 128 256L896 256L896 253.5C896 236.833 892.583 220.917 885.75 205.75C878.917 190.583 869.75 177.25 858.25 165.75C846.75 154.25 833.417 145.083 818.25 138.25C803.083 131.417 787.167 128 770.5 128ZM770.5 896C787.167 896 803.083 892.583 818.25 885.75C833.417 878.917 846.75 869.75 858.25 858.25C869.75 846.75 878.917 833.417 885.75 818.25C892.583 803.083 896 787.167 896 770.5L896 320L128 320L128 770.5C128 787.167 131.417 803.083 138.25 818.25C145.083 833.417 154.25 846.75 165.75 858.25C177.25 869.75 190.583 878.917 205.75 885.75C220.917 892.583 236.833 896 253.5 896ZM256 512C256 503 257.667 494.667 261 487C264.333 479.333 268.917 472.583 274.75 466.75C280.583 460.917 287.417 456.333 295.25 453C303.083 449.667 311.5 448 320.5 448C329.5 448 337.833 449.667 345.5 453C353.167 456.333 359.833 460.833 365.5 466.5C371.167 472.167 375.667 478.833 379 486.5C382.333 494.167 384 502.5 384 511.5C384 520.5 382.333 528.917 379 536.75C375.667 544.583 371.083 551.417 365.25 557.25C359.417 563.083 352.667 567.667 345 571C337.333 574.333 329 576 320 576C311 576 302.583 574.333 294.75 571C286.917 567.667 280.167 563.167 274.5 557.5C268.833 551.833 264.333 545.083 261 537.25C257.667 529.417 256 521 256 512ZM448 512C448 503 449.667 494.667 453 487C456.333 479.333 460.917 472.583 466.75 466.75C472.583 460.917 479.417 456.333 487.25 453C495.083 449.667 503.5 448 512.5 448C521.5 448 529.833 449.667 537.5 453C545.167 456.333 551.833 460.833 557.5 466.5C563.167 472.167 567.667 478.833 571 486.5C574.333 494.167 576 502.5 576 511.5C576 520.5 574.333 528.917 571 536.75C567.667 544.583 563.083 551.417 557.25 557.25C551.417 563.083 544.667 567.667 537 571C529.333 574.333 521 576 512 576C503 576 494.583 574.333 486.75 571C478.917 567.667 472.167 563.167 466.5 557.5C460.833 551.833 456.333 545.083 453 537.25C449.667 529.417 448 521 448 512ZM768 511.5C768 520.5 766.333 528.917 763 536.75C759.667 544.583 755.083 551.417 749.25 557.25C743.417 563.083 736.667 567.667 729 571C721.333 574.333 713 576 704 576C695 576 686.583 574.333 678.75 571C670.917 567.667 664.167 563.167 658.5 557.5C652.833 551.833 648.333 545.083 645 537.25C641.667 529.417 640 521 640 512C640 503 641.667 494.667 645 487C648.333 479.333 652.917 472.583 658.75 466.75C664.583 460.917 671.417 456.333 679.25 453C687.083 449.667 695.5 448 704.5 448C713.5 448 721.833 449.667 729.5 453C737.167 456.333 743.833 460.833 749.5 466.5C755.167 472.167 759.667 478.833 763 486.5C766.333 494.167 768 502.5 768 511.5ZM384 704C384 713 382.333 721.333 379 729C375.667 736.667 371.083 743.417 365.25 749.25C359.417 755.083 352.583 759.667 344.75 763C336.917 766.333 328.5 768 319.5 768C310.5 768 302.167 766.333 294.5 763C286.833 759.667 280.167 755.167 274.5 749.5C268.833 743.833 264.333 737.167 261 729.5C257.667 721.833 256 713.5 256 704.5C256 695.5 257.667 687.083 261 679.25C264.333 671.417 268.917 664.583 274.75 658.75C280.583 652.917 287.333 648.333 295 645C302.667 641.667 311 640 320 640C329 640 337.417 641.667 345.25 645C353.083 648.333 359.833 652.833 365.5 658.5C371.167 664.167 375.667 670.917 379 678.75C382.333 686.583 384 695 384 704ZM576 704C576 713 574.333 721.333 571 729C567.667 736.667 563.083 743.417 557.25 749.25C551.417 755.083 544.583 759.667 536.75 763C528.917 766.333 520.5 768 511.5 768C502.5 768 494.167 766.333 486.5 763C478.833 759.667 472.167 755.167 466.5 749.5C460.833 743.833 456.333 737.167 453 729.5C449.667 721.833 448 713.5 448 704.5C448 695.5 449.667 687.083 453 679.25C456.333 671.417 460.917 664.583 466.75 658.75C472.583 652.917 479.333 648.333 487 645C494.667 641.667 503 640 512 640C521 640 529.417 641.667 537.25 645C545.083 648.333 551.833 652.833 557.5 658.5C563.167 664.167 567.667 670.917 571 678.75C574.333 686.583 576 695 576 704Z"/>
</Canvas>
</Viewbox>
<StackPanel Margin="10,0,0,0" VerticalAlignment="Center">
<Label Name="PART_ElemLastPlayed" Content="{DynamicResource LOCLastPlayed}" Foreground="{DynamicResource DetailsViewDetailsLabelForegroundBrush}"/>
Expand All @@ -1037,7 +1040,10 @@
</DockPanel>
<DockPanel Visibility="{Binding Visibility, ElementName=PART_ElemPlayTime, Mode=OneWay}" Margin="0,5,12,5">
<Viewbox Stretch="Uniform" Height="28">
<TextBlock Text="&#xEEDC;" FontFamily="{StaticResource FontIcoFont}" Foreground="{DynamicResource DetailsPanelFillIconBackgroundBrush}" />
<Canvas Width="24" Height="24">
<Path xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Name="path2" Fill="{DynamicResource DetailsPanelFillIconBackgroundBrush}"
Data="M12 2C6.5 2 2 6.5 2 12C2 17.5 6.5 22 12 22C17.5 22 22 17.5 22 12C22 6.5 17.5 2 12 2ZM16.2 16.2L11 13V7H12.5V12.2L17 14.9L16.2 16.2Z"/>
</Canvas>
</Viewbox>
<StackPanel Margin="10,0,0,0" VerticalAlignment="Center">
<Label Name="PART_ElemPlayTime" Content="{DynamicResource LOCTimePlayed}" Foreground="{DynamicResource DetailsViewDetailsLabelForegroundBrush}" />
Expand All @@ -1063,7 +1069,10 @@
</Style>
</DockPanel.Style>
<Viewbox Stretch="Uniform" Height="33">
<TextBlock Text="&#xEED6;" FontFamily="{StaticResource FontIcoFont}" Foreground="{DynamicResource DetailsPanelFillIconBackgroundBrush}" />
<Canvas Width="24" Height="24">
<Path Fill="{DynamicResource DetailsPanelFillIconBackgroundBrush}"
Data="M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22ZM12.3827 5.07523C12.2512 4.71987 11.7486 4.71987 11.6171 5.07523L10.6969 7.562C10.1595 9.01439 9.01439 10.1595 7.562 10.6969L5.07523 11.6171C4.71987 11.7486 4.71987 12.2512 5.07523 12.3827L7.562 13.3029C9.01439 13.8403 10.1595 14.9855 10.6969 16.4378L11.6171 18.9246C11.7486 19.28 12.2512 19.28 12.3827 18.9246L13.3029 16.4378C13.8403 14.9855 14.9855 13.8403 16.4378 13.3029L18.9246 12.3827C19.28 12.2512 19.28 11.7486 18.9246 11.6171L16.4378 10.6969C14.9855 10.1595 13.8403 9.01439 13.3029 7.562L12.3827 5.07523Z"/>
</Canvas>
</Viewbox>

<StackPanel Margin="10,0,0,0" VerticalAlignment="Center">
Expand Down Expand Up @@ -1095,7 +1104,12 @@
</Style>
</DockPanel.Style>
<Viewbox Stretch="Uniform" Height="24">
<TextBlock Text="&#xEDD7;" FontFamily="{StaticResource FontIcoFont}" Foreground="{DynamicResource DetailsPanelFillIconBackgroundBrush}" />
<Canvas Width="15" Height="14">
<Path Fill="{DynamicResource DetailsPanelFillIconBackgroundBrush}" Data="M1.78952 1.03177H3.21722C3.21547 1.05694 3.21455 1.08267 3.21455 1.10896L3.21455 2.21484H1.92245V3.65386C1.92245 4.29719 2.17572 4.91418 2.62655 5.36908C2.8022 5.54633 3.00223 5.69331 3.21869 5.8067C3.23933 6.28339 3.33644 6.74005 3.49797 7.16449C2.85933 7.01104 2.26929 6.68172 1.7975 6.20565C1.1268 5.52887 0.75 4.61096 0.75 3.65386V2.0807C0.75 1.50139 1.21541 1.03177 1.78952 1.03177Z"/>
<Path Fill="{DynamicResource DetailsPanelFillIconBackgroundBrush}" Data="M4.57719 7.26263C4.37731 6.90243 4.24094 6.50149 4.18336 6.07526L4.17941 6.04498C4.16166 5.90411 4.15251 5.76052 4.15251 5.61478L4.15251 1.10896C4.15251 1.02488 4.24618 0.944783 4.41557 0.871928C4.92375 0.653363 6.11342 0.5 7.49999 0.5C9.34874 0.5 10.8475 0.772637 10.8475 1.10895V5.61478C10.8475 5.77097 10.837 5.9247 10.8166 6.07526C10.7459 6.59904 10.5561 7.0846 10.2758 7.50333C9.6742 8.40183 8.65546 8.99257 7.49999 8.99257L7.47834 8.9925C6.23167 8.98454 5.14668 8.28891 4.57719 7.26263Z"/>
<Path Fill="{DynamicResource DetailsPanelFillIconBackgroundBrush}" Data="M11.502 7.1645C11.6635 6.74006 11.7606 6.2834 11.7813 5.80672C11.9978 5.69332 12.1978 5.54634 12.3735 5.36908C12.8243 4.91418 13.0775 4.29719 13.0775 3.65386V2.21484H11.8227V1.03177H13.2105C13.7846 1.03177 14.25 1.50139 14.25 2.0807V3.65386C14.25 4.61096 13.8732 5.52887 13.2025 6.20565C12.83 6.58157 12.3836 6.866 11.898 7.04457C11.7686 7.09215 11.6364 7.13221 11.502 7.1645Z"/>
<Path Fill="{DynamicResource DetailsPanelFillIconBackgroundBrush}" Data="M10.3826 12.1379C10.3826 12.7521 9.09198 13.25 7.49998 13.25C5.90798 13.25 4.6174 12.7521 4.6174 12.1379C4.6174 11.9371 4.75526 11.7488 4.99644 11.5862L4.99892 11.5845L5.54498 11.2735C6.0756 10.9712 6.51643 10.5312 6.82173 9.99911C6.90651 9.85135 7.12539 9.74247 7.49998 9.74247C7.87457 9.74247 8.09345 9.85135 8.17823 9.99911C8.48353 10.5312 8.92435 10.9712 9.45498 11.2735L10.001 11.5845L10.008 11.5893C10.2464 11.7511 10.3826 11.9384 10.3826 12.1379Z"/>
</Canvas>
</Viewbox>

<StackPanel Margin="15,0,0,0" VerticalAlignment="Center">
Expand Down

0 comments on commit c554285

Please sign in to comment.