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,
|
List,
|
||||||
Grid,
|
Grid,
|
||||||
Chip,
|
Chip,
|
||||||
|
Profiles
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -14,6 +14,7 @@ namespace Ryujinx.Ava.UI.Helpers
|
||||||
{ Glyph.List, char.ConvertFromUtf32((int)Symbol.List) },
|
{ Glyph.List, char.ConvertFromUtf32((int)Symbol.List) },
|
||||||
{ Glyph.Grid, char.ConvertFromUtf32((int)Symbol.ViewAll) },
|
{ Glyph.Grid, char.ConvertFromUtf32((int)Symbol.ViewAll) },
|
||||||
{ Glyph.Chip, char.ConvertFromUtf32(59748) },
|
{ Glyph.Chip, char.ConvertFromUtf32(59748) },
|
||||||
|
{ Glyph.Profiles, char.ConvertFromUtf32((int)Symbol.People) }
|
||||||
};
|
};
|
||||||
|
|
||||||
public GlyphValueConverter(string key)
|
public GlyphValueConverter(string key)
|
||||||
|
|
|
@ -173,5 +173,22 @@
|
||||||
VerticalAlignment="Center"
|
VerticalAlignment="Center"
|
||||||
DockPanel.Dock="Right"
|
DockPanel.Dock="Right"
|
||||||
Text="{locale:Locale CommonSort}" />
|
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>
|
</DockPanel>
|
||||||
</UserControl>
|
</UserControl>
|
||||||
|
|
Loading…
Reference in a new issue