Skip to content

Commit

Permalink
Add icons
Browse files Browse the repository at this point in the history
  • Loading branch information
hawkeye116477 committed Nov 2, 2024
1 parent 9413316 commit 177515c
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/CommonPlugin.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,10 @@
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Resource Include="Resources\Icons.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Resource>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project>
9 changes: 9 additions & 0 deletions src/Resources/Icons.xaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<ResourceDictionary
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<TextBlock x:Key="RepairIcon" Text="&#xefd2;" FontFamily="{DynamicResource FontIcoFont}" FontWeight="Light" Foreground="{DynamicResource TextBrush}" />
<TextBlock x:Key="MoveIcon" Text="&#xea5d;" FontFamily="{DynamicResource FontIcoFont}" FontWeight="Light" Foreground="{DynamicResource TextBrush}" />
<TextBlock x:Key="ModifyLaunchSettingsIcon" Text="&#xefe2;" FontFamily="{DynamicResource FontIcoFont}" FontWeight="Light" Foreground="{DynamicResource TextBrush}" />
<TextBlock x:Key="InstallIcon" Text="&#xef08;" FontFamily="{DynamicResource FontIcoFont}" FontWeight="Light" Foreground="{DynamicResource TextBrush}" />
<TextBlock x:Key="UninstallIcon" Text="&#xedec;" FontFamily="{DynamicResource FontIcoFont}" FontWeight="Light" Foreground="{DynamicResource TextBrush}" />
</ResourceDictionary>

0 comments on commit 177515c

Please sign in to comment.