UI: Option to resize window to 1440p, 2160p

Minor but useful quality of life addition
This commit is contained in:
asfasagag 2024-12-22 20:49:40 -08:00 committed by KeatonTheBot
parent 217f099d2c
commit 8726331a10
20 changed files with 48 additions and 0 deletions

View file

@ -40,6 +40,8 @@
"MenuBarViewWindow": "حجم النافذة",
"MenuBarViewWindow720": "720p",
"MenuBarViewWindow1080": "1080p",
"MenuBarViewWindow1440": "1440p",
"MenuBarViewWindow2160": "2160p",
"MenuBarHelp": "_مساعدة",
"MenuBarHelpCheckForUpdates": "تحقق من التحديثات",
"MenuBarHelpAbout": "حول",

View file

@ -40,6 +40,8 @@
"MenuBarViewWindow": "Fenstergröße",
"MenuBarViewWindow720": "720p",
"MenuBarViewWindow1080": "1080p",
"MenuBarViewWindow1440": "1440p",
"MenuBarViewWindow2160": "2160p",
"MenuBarHelp": "_Hilfe",
"MenuBarHelpCheckForUpdates": "Nach Updates suchen",
"MenuBarHelpAbout": "Über Ryujinx",

View file

@ -40,6 +40,8 @@
"MenuBarViewWindow": "Window Size",
"MenuBarViewWindow720": "720p",
"MenuBarViewWindow1080": "1080p",
"MenuBarViewWindow1440": "1440p",
"MenuBarViewWindow2160": "2160p",
"MenuBarHelp": "_Βοήθεια",
"MenuBarHelpCheckForUpdates": "Έλεγχος για Ενημερώσεις",
"MenuBarHelpAbout": "Σχετικά με",

View file

@ -42,6 +42,8 @@
"MenuBarViewWindow": "Window Size",
"MenuBarViewWindow720": "720p",
"MenuBarViewWindow1080": "1080p",
"MenuBarViewWindow1440": "1440p",
"MenuBarViewWindow2160": "2160p",
"MenuBarHelp": "_Help",
"MenuBarHelpCheckForUpdates": "Check for Updates",
"MenuBarHelpAbout": "About",

View file

@ -40,6 +40,8 @@
"MenuBarViewWindow": "Window Size",
"MenuBarViewWindow720": "720p",
"MenuBarViewWindow1080": "1080p",
"MenuBarViewWindow1440": "1440p",
"MenuBarViewWindow2160": "2160p",
"MenuBarHelp": "_Ayuda",
"MenuBarHelpCheckForUpdates": "Buscar actualizaciones",
"MenuBarHelpAbout": "Acerca de",

View file

@ -40,6 +40,8 @@
"MenuBarViewWindow": "Window Size",
"MenuBarViewWindow720": "720p",
"MenuBarViewWindow1080": "1080p",
"MenuBarViewWindow1440": "1440p",
"MenuBarViewWindow2160": "2160p",
"MenuBarHelp": "_Aide",
"MenuBarHelpCheckForUpdates": "Vérifier les mises à jour",
"MenuBarHelpAbout": "À propos",

View file

@ -40,6 +40,8 @@
"MenuBarViewWindow": "Window Size",
"MenuBarViewWindow720": "720p",
"MenuBarViewWindow1080": "1080p",
"MenuBarViewWindow1440": "1440p",
"MenuBarViewWindow2160": "2160p",
"MenuBarHelp": "_עזרה",
"MenuBarHelpCheckForUpdates": "חפש עדכונים",
"MenuBarHelpAbout": "אודות",

View file

@ -40,6 +40,8 @@
"MenuBarViewWindow": "Window Size",
"MenuBarViewWindow720": "720p",
"MenuBarViewWindow1080": "1080p",
"MenuBarViewWindow1440": "1440p",
"MenuBarViewWindow2160": "2160p",
"MenuBarHelp": "_Aiuto",
"MenuBarHelpCheckForUpdates": "Controlla aggiornamenti",
"MenuBarHelpAbout": "Informazioni",

View file

@ -40,6 +40,8 @@
"MenuBarViewWindow": "Window Size",
"MenuBarViewWindow720": "720p",
"MenuBarViewWindow1080": "1080p",
"MenuBarViewWindow1440": "1440p",
"MenuBarViewWindow2160": "2160p",
"MenuBarHelp": "ヘルプ(_H)",
"MenuBarHelpCheckForUpdates": "アップデートを確認",
"MenuBarHelpAbout": "Ryujinx について",

View file

@ -40,6 +40,8 @@
"MenuBarViewWindow": "창 크기",
"MenuBarViewWindow720": "720p",
"MenuBarViewWindow1080": "1080p",
"MenuBarViewWindow1440": "1440p",
"MenuBarViewWindow2160": "2160p",
"MenuBarHelp": "도움말(_H)",
"MenuBarHelpCheckForUpdates": "업데이트 확인",
"MenuBarHelpAbout": "정보",

View file

@ -40,6 +40,8 @@
"MenuBarViewWindow": "Window Size",
"MenuBarViewWindow720": "720p",
"MenuBarViewWindow1080": "1080p",
"MenuBarViewWindow1440": "1440p",
"MenuBarViewWindow2160": "2160p",
"MenuBarHelp": "_Pomoc",
"MenuBarHelpCheckForUpdates": "Sprawdź aktualizacje",
"MenuBarHelpAbout": "O programie",

View file

@ -40,6 +40,8 @@
"MenuBarViewWindow": "Window Size",
"MenuBarViewWindow720": "720p",
"MenuBarViewWindow1080": "1080p",
"MenuBarViewWindow1440": "1440p",
"MenuBarViewWindow2160": "2160p",
"MenuBarHelp": "_Ajuda",
"MenuBarHelpCheckForUpdates": "_Verificar se há atualizações",
"MenuBarHelpAbout": "_Sobre",

View file

@ -40,6 +40,8 @@
"MenuBarViewWindow": "Размер окна",
"MenuBarViewWindow720": "720p",
"MenuBarViewWindow1080": "1080p",
"MenuBarViewWindow1440": "1440p",
"MenuBarViewWindow2160": "2160p",
"MenuBarHelp": "_Помощь",
"MenuBarHelpCheckForUpdates": "Проверить наличие обновлений",
"MenuBarHelpAbout": "О программе",

View file

@ -40,6 +40,8 @@
"MenuBarViewWindow": "Window Size",
"MenuBarViewWindow720": "720p",
"MenuBarViewWindow1080": "1080p",
"MenuBarViewWindow1440": "1440p",
"MenuBarViewWindow2160": "2160p",
"MenuBarHelp": "_ช่วยเหลือ",
"MenuBarHelpCheckForUpdates": "ตรวจสอบอัปเดต",
"MenuBarHelpAbout": "เกี่ยวกับ",

View file

@ -40,6 +40,8 @@
"MenuBarViewWindow": "Pencere Boyutu",
"MenuBarViewWindow720": "720p",
"MenuBarViewWindow1080": "1080p",
"MenuBarViewWindow1440": "1440p",
"MenuBarViewWindow2160": "2160p",
"MenuBarHelp": "_Yardım",
"MenuBarHelpCheckForUpdates": "Güncellemeleri Denetle",
"MenuBarHelpAbout": "Hakkında",

View file

@ -40,6 +40,8 @@
"MenuBarViewWindow": "Window Size",
"MenuBarViewWindow720": "720p",
"MenuBarViewWindow1080": "1080p",
"MenuBarViewWindow1440": "1440p",
"MenuBarViewWindow2160": "2160p",
"MenuBarHelp": "_Допомога",
"MenuBarHelpCheckForUpdates": "Перевірити оновлення",
"MenuBarHelpAbout": "Про застосунок",

View file

@ -40,6 +40,8 @@
"MenuBarViewWindow": "窗口大小",
"MenuBarViewWindow720": "720p",
"MenuBarViewWindow1080": "1080p",
"MenuBarViewWindow1440": "1440p",
"MenuBarViewWindow2160": "2160p",
"MenuBarHelp": "帮助(_H)",
"MenuBarHelpCheckForUpdates": "检查更新",
"MenuBarHelpAbout": "关于",

View file

@ -40,6 +40,8 @@
"MenuBarViewWindow": "視窗大小",
"MenuBarViewWindow720": "720p",
"MenuBarViewWindow1080": "1080p",
"MenuBarViewWindow1440": "1440p",
"MenuBarViewWindow2160": "2160p",
"MenuBarHelp": "說明(_H)",
"MenuBarHelpCheckForUpdates": "檢查更新",
"MenuBarHelpAbout": "關於",

View file

@ -213,6 +213,8 @@
<MenuItem VerticalAlignment="Center" Header="{locale:Locale MenuBarViewWindow}">
<MenuItem Header="{locale:Locale MenuBarViewWindow720}" Tag="720" Click="ChangeWindowSize_Click" />
<MenuItem Header="{locale:Locale MenuBarViewWindow1080}" Tag="1080" Click="ChangeWindowSize_Click" />
<MenuItem Header="{locale:Locale MenuBarViewWindow1440}" Tag="1440" Click="ChangeWindowSize_Click" />
<MenuItem Header="{locale:Locale MenuBarViewWindow2160}" Tag="2160" Click="ChangeWindowSize_Click" />
</MenuItem>
</MenuItem>
<MenuItem VerticalAlignment="Center" Header="{locale:Locale MenuBarHelp}">

View file

@ -249,6 +249,16 @@ namespace Ryujinx.Ava.UI.Views.Main
width = 1920;
break;
case "1440":
height = 1440;
width = 2560;
break;
case "2160":
height = 2160;
width = 3840;
break;
default:
throw new ArgumentNullException($"Invalid Tag for {item}");
}