This commit is contained in:
WilliamWsyHK 2024-05-17 21:58:54 -04:00 committed by GitHub
commit 66605d4ce7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 19 additions and 0 deletions

View File

@ -5,5 +5,6 @@ namespace Ryujinx.Ava.UI.Helpers
List,
Grid,
Chip,
Profiles
}
}

View File

@ -14,6 +14,7 @@ namespace Ryujinx.Ava.UI.Helpers
{ Glyph.List, char.ConvertFromUtf32((int)Symbol.List) },
{ Glyph.Grid, char.ConvertFromUtf32((int)Symbol.ViewAll) },
{ Glyph.Chip, char.ConvertFromUtf32(59748) },
{ Glyph.Profiles, char.ConvertFromUtf32((int)Symbol.People) }
};
public GlyphValueConverter(string key)

View File

@ -173,5 +173,22 @@
VerticalAlignment="Center"
DockPanel.Dock="Right"
Text="{locale:Locale CommonSort}" />
<Button
Width="40"
MinWidth="40"
Margin="5,2,5,2"
HorizontalAlignment="Right"
VerticalAlignment="Stretch"
Command="{Binding ManageProfiles}"
IsEnabled="{Binding EnableNonGameRunningControls}"
DockPanel.Dock="Right"
ToolTip.Tip="{locale:Locale OpenProfileManagerTooltip}">
<ui:FontIcon
Margin="0"
HorizontalAlignment="Stretch"
VerticalAlignment="Center"
FontFamily="avares://FluentAvalonia/Fonts#Symbols"
Glyph="{helpers:GlyphValueConverter Profiles}" />
</Button>
</DockPanel>
</UserControl>