Implement "hide UI" option (#2411)
* Implement jduncanator method * Rename function/button ID * Move option to Actions menu (makes no sense while emulation is inactive...)
This commit is contained in:
parent
8c7986eb58
commit
06cd3abe6c
2 changed files with 25 additions and 1 deletions
|
@ -1072,6 +1072,15 @@ namespace Ryujinx.Ui
|
|||
ConfigurationState.Instance.Graphics.AspectRatio.Value = ((int)aspectRatio + 1) > Enum.GetNames(typeof(AspectRatio)).Length - 1 ? AspectRatio.Fixed4x3 : aspectRatio + 1;
|
||||
}
|
||||
|
||||
private void Focus_Menu_Bar(object sender, KeyReleaseEventArgs args)
|
||||
{
|
||||
if (args.Event.Key == Gdk.Key.Alt_L)
|
||||
{
|
||||
ToggleExtraWidgets(true);
|
||||
_menuBar.GrabFocus();
|
||||
}
|
||||
}
|
||||
|
||||
private void Row_Clicked(object sender, ButtonReleaseEventArgs args)
|
||||
{
|
||||
if (args.Event.Button != 3 /* Right Click */)
|
||||
|
@ -1364,6 +1373,11 @@ namespace Ryujinx.Ui
|
|||
settingsWindow.Show();
|
||||
}
|
||||
|
||||
private void HideUi_Pressed(object sender, EventArgs args)
|
||||
{
|
||||
ToggleExtraWidgets(false);
|
||||
}
|
||||
|
||||
private void ManageUserProfiles_Pressed(object sender, EventArgs args)
|
||||
{
|
||||
UserProfilesManagerWindow userProfilesManagerWindow = new UserProfilesManagerWindow(_accountManager, _contentManager, _virtualFileSystem);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue