mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-11-28 04:34:04 +00:00
Add profile button
This commit is contained in:
parent
cdccf89e10
commit
6a3d629c2d
3 changed files with 19 additions and 0 deletions
|
@ -5,5 +5,6 @@ namespace Ryujinx.Ava.UI.Helpers
|
|||
List,
|
||||
Grid,
|
||||
Chip,
|
||||
Profiles
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue