mirror of
https://github.com/Ryubing/Ryujinx.git
synced 2025-06-19 10:17:22 +00:00
Compare commits
3 Commits
a10e4a7e49
...
84b4baf37a
Author | SHA1 | Date | |
---|---|---|---|
![]() |
84b4baf37a | ||
![]() |
c76f32a4ee | ||
![]() |
c0a9957d04 |
@ -1664,7 +1664,7 @@
|
|||||||
"pl_PL": "Rozszerzenie pliku: {0}",
|
"pl_PL": "Rozszerzenie pliku: {0}",
|
||||||
"pt_BR": "Extensão: {0}",
|
"pt_BR": "Extensão: {0}",
|
||||||
"ru_RU": "Расширение файла: {0}",
|
"ru_RU": "Расширение файла: {0}",
|
||||||
"sv_SE": "Filänd: {0}",
|
"sv_SE": "Filändelse: {0}",
|
||||||
"th_TH": "นามสกุลไฟล์: {0}",
|
"th_TH": "นามสกุลไฟล์: {0}",
|
||||||
"tr_TR": "Dosya Uzantısı: {0}",
|
"tr_TR": "Dosya Uzantısı: {0}",
|
||||||
"uk_UA": "Розширення файлу: {0}",
|
"uk_UA": "Розширення файлу: {0}",
|
||||||
@ -1789,7 +1789,7 @@
|
|||||||
"pl_PL": "Rozszerzenie pliku",
|
"pl_PL": "Rozszerzenie pliku",
|
||||||
"pt_BR": "Extensão",
|
"pt_BR": "Extensão",
|
||||||
"ru_RU": "Расширение файла",
|
"ru_RU": "Расширение файла",
|
||||||
"sv_SE": "Filänd",
|
"sv_SE": "Filändelse",
|
||||||
"th_TH": "นามสกุลไฟล์",
|
"th_TH": "นามสกุลไฟล์",
|
||||||
"tr_TR": "Dosya Uzantısı",
|
"tr_TR": "Dosya Uzantısı",
|
||||||
"uk_UA": "Розширення файлу",
|
"uk_UA": "Розширення файлу",
|
||||||
@ -3989,7 +3989,7 @@
|
|||||||
"pl_PL": "",
|
"pl_PL": "",
|
||||||
"pt_BR": "Carregar Automaticamente Pasta de DLC e Atualizações",
|
"pt_BR": "Carregar Automaticamente Pasta de DLC e Atualizações",
|
||||||
"ru_RU": "Автозагрузка папки с DLC/Обновлениями",
|
"ru_RU": "Автозагрузка папки с DLC/Обновлениями",
|
||||||
"sv_SE": "Läs automatisk in DLC/speluppdateringar",
|
"sv_SE": "Läs automatiskt in DLC/speluppdateringar",
|
||||||
"th_TH": "โหลดไดเรกทอรี DLC/ไฟล์อัปเดต อัตโนมัติ",
|
"th_TH": "โหลดไดเรกทอรี DLC/ไฟล์อัปเดต อัตโนมัติ",
|
||||||
"tr_TR": "",
|
"tr_TR": "",
|
||||||
"uk_UA": "Автозавантаження теки DLC/Оновлень",
|
"uk_UA": "Автозавантаження теки DLC/Оновлень",
|
||||||
@ -7239,7 +7239,7 @@
|
|||||||
"pl_PL": "Przyciski",
|
"pl_PL": "Przyciski",
|
||||||
"pt_BR": "Botões",
|
"pt_BR": "Botões",
|
||||||
"ru_RU": "Кнопки",
|
"ru_RU": "Кнопки",
|
||||||
"sv_SE": "Knappar",
|
"sv_SE": "Handlingsknappar",
|
||||||
"th_TH": "ปุ่มกด",
|
"th_TH": "ปุ่มกด",
|
||||||
"tr_TR": "Tuşlar",
|
"tr_TR": "Tuşlar",
|
||||||
"uk_UA": "Кнопки",
|
"uk_UA": "Кнопки",
|
||||||
@ -14889,7 +14889,7 @@
|
|||||||
"pl_PL": "Wielowątkowość Backendu Graficznego:",
|
"pl_PL": "Wielowątkowość Backendu Graficznego:",
|
||||||
"pt_BR": "Multi Enfileiramento do Renderizador Gráfico:",
|
"pt_BR": "Multi Enfileiramento do Renderizador Gráfico:",
|
||||||
"ru_RU": "Многопоточность графического бэкенда:",
|
"ru_RU": "Многопоточность графического бэкенда:",
|
||||||
"sv_SE": "Multithreading för grafikbakände:",
|
"sv_SE": "Multitrådning för grafikbakände:",
|
||||||
"th_TH": "มัลติเธรด กราฟิกเบื้องหลัง:",
|
"th_TH": "มัลติเธรด กราฟิกเบื้องหลัง:",
|
||||||
"tr_TR": "Grafik Backend Multithreading:",
|
"tr_TR": "Grafik Backend Multithreading:",
|
||||||
"uk_UA": "Багатопотоковість графічного сервера:",
|
"uk_UA": "Багатопотоковість графічного сервера:",
|
||||||
@ -18689,7 +18689,7 @@
|
|||||||
"pl_PL": "",
|
"pl_PL": "",
|
||||||
"pt_BR": "Não Reduzido",
|
"pt_BR": "Não Reduzido",
|
||||||
"ru_RU": "Не обрезан",
|
"ru_RU": "Не обрезан",
|
||||||
"sv_SE": "Inte optimerad",
|
"sv_SE": "Orörd",
|
||||||
"th_TH": "",
|
"th_TH": "",
|
||||||
"tr_TR": "",
|
"tr_TR": "",
|
||||||
"uk_UA": "Необрізані",
|
"uk_UA": "Необрізані",
|
||||||
|
@ -20,38 +20,81 @@
|
|||||||
</Style>
|
</Style>
|
||||||
</Window.Styles>
|
</Window.Styles>
|
||||||
<Grid Name="CheatGrid" Margin="15" RowDefinitions="Auto,Auto,Auto,*,Auto" ColumnDefinitions="*,*">
|
<Grid Name="CheatGrid" Margin="15" RowDefinitions="Auto,Auto,Auto,*,Auto" ColumnDefinitions="*,*">
|
||||||
<TextBlock
|
<Grid Name="FlushHeader" Grid.Row="1" Column="0" ColumnSpan="2" RowDefinitions="Auto,Auto,Auto" ColumnDefinitions="Auto,*,Auto,*">
|
||||||
Grid.Row="1"
|
<Image
|
||||||
Grid.Column="0"
|
Grid.Row="0"
|
||||||
Grid.ColumnSpan="2"
|
Grid.Column="0"
|
||||||
MaxWidth="500"
|
Name="RyuLogo"
|
||||||
Margin="20,15,20,5"
|
HorizontalAlignment="Left"
|
||||||
HorizontalAlignment="Center"
|
Margin="-7, -22, 7, 0"
|
||||||
VerticalAlignment="Center"
|
Height="28"
|
||||||
LineHeight="18"
|
Width="28" />
|
||||||
Text="{Binding Heading}"
|
<StackPanel Grid.Row="0" Grid.Column="1" Grid.ColumnSpan="2"
|
||||||
TextAlignment="Center"
|
Margin="7, -7, 0, 5"
|
||||||
TextWrapping="Wrap" />
|
Orientation="Horizontal"
|
||||||
<TextBlock
|
VerticalAlignment="Center"
|
||||||
Grid.Row="2"
|
HorizontalAlignment="Stretch">
|
||||||
Grid.Column="0"
|
<TextBlock
|
||||||
MaxWidth="500"
|
MaxWidth="500"
|
||||||
Margin="140,15,20,5"
|
Margin="0,8,5,0"
|
||||||
HorizontalAlignment="Center"
|
LineHeight="30"
|
||||||
VerticalAlignment="Center"
|
Text="{ext:Locale BuildId}"
|
||||||
LineHeight="30"
|
TextAlignment="Center"
|
||||||
Text="{ext:Locale BuildId}"
|
TextWrapping="Wrap" />
|
||||||
TextAlignment="Center"
|
<TextBox
|
||||||
TextWrapping="Wrap" />
|
Margin="0,0,0,0"
|
||||||
<TextBox
|
MinWidth="135"
|
||||||
Grid.Row="2"
|
Text="{Binding BuildId}"
|
||||||
Grid.Column="1"
|
IsReadOnly="True" />
|
||||||
Margin="0,5,110,5"
|
</StackPanel>
|
||||||
MinWidth="160"
|
<TextBlock
|
||||||
HorizontalAlignment="Center"
|
Grid.Row="1"
|
||||||
VerticalAlignment="Center"
|
Grid.Column="0"
|
||||||
Text="{Binding BuildId}"
|
Grid.ColumnSpan="4"
|
||||||
IsReadOnly="True" />
|
MaxWidth="500"
|
||||||
|
Margin="0,10,0,5"
|
||||||
|
HorizontalAlignment="Stretch"
|
||||||
|
VerticalAlignment="Center"
|
||||||
|
LineHeight="18"
|
||||||
|
Text="{Binding Heading}"
|
||||||
|
TextAlignment="Center"
|
||||||
|
TextWrapping="Wrap" />
|
||||||
|
|
||||||
|
</Grid>
|
||||||
|
<Grid Name="NormalHeader" Grid.Row="1" Column="0" ColumnSpan="2" RowDefinitions="Auto,Auto,Auto" ColumnDefinitions="*,*">
|
||||||
|
<TextBlock
|
||||||
|
Grid.Row="1"
|
||||||
|
Grid.Column="0"
|
||||||
|
Grid.ColumnSpan="2"
|
||||||
|
MaxWidth="500"
|
||||||
|
Margin="20,15,20,5"
|
||||||
|
HorizontalAlignment="Center"
|
||||||
|
VerticalAlignment="Center"
|
||||||
|
LineHeight="18"
|
||||||
|
Text="{Binding Heading}"
|
||||||
|
TextAlignment="Center"
|
||||||
|
TextWrapping="Wrap" />
|
||||||
|
<TextBlock
|
||||||
|
Grid.Row="2"
|
||||||
|
Grid.Column="0"
|
||||||
|
MaxWidth="500"
|
||||||
|
Margin="140,15,20,5"
|
||||||
|
HorizontalAlignment="Center"
|
||||||
|
VerticalAlignment="Center"
|
||||||
|
LineHeight="30"
|
||||||
|
Text="{ext:Locale BuildId}"
|
||||||
|
TextAlignment="Center"
|
||||||
|
TextWrapping="Wrap" />
|
||||||
|
<TextBox
|
||||||
|
Grid.Row="2"
|
||||||
|
Grid.Column="1"
|
||||||
|
Margin="0,5,110,5"
|
||||||
|
MinWidth="160"
|
||||||
|
HorizontalAlignment="Center"
|
||||||
|
VerticalAlignment="Center"
|
||||||
|
Text="{Binding BuildId}"
|
||||||
|
IsReadOnly="True" />
|
||||||
|
</Grid>
|
||||||
<Border
|
<Border
|
||||||
Grid.Row="3"
|
Grid.Row="3"
|
||||||
Grid.Column="0"
|
Grid.Column="0"
|
||||||
|
@ -4,6 +4,7 @@ using Ryujinx.Ava.Common.Locale;
|
|||||||
using Ryujinx.Ava.UI.Models;
|
using Ryujinx.Ava.UI.Models;
|
||||||
using Ryujinx.Ava.Systems.AppLibrary;
|
using Ryujinx.Ava.Systems.AppLibrary;
|
||||||
using Ryujinx.Ava.Systems.Configuration;
|
using Ryujinx.Ava.Systems.Configuration;
|
||||||
|
using Ryujinx.Ava.UI.ViewModels;
|
||||||
using Ryujinx.HLE.FileSystem;
|
using Ryujinx.HLE.FileSystem;
|
||||||
using Ryujinx.HLE.HOS;
|
using Ryujinx.HLE.HOS;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
@ -32,7 +33,7 @@ namespace Ryujinx.Ava.UI.Windows
|
|||||||
Title = RyujinxApp.FormatTitle(LocaleKeys.CheatWindowTitle);
|
Title = RyujinxApp.FormatTitle(LocaleKeys.CheatWindowTitle);
|
||||||
}
|
}
|
||||||
|
|
||||||
public CheatWindow(VirtualFileSystem virtualFileSystem, string titleId, string titleName, string titlePath)
|
public CheatWindow(VirtualFileSystem virtualFileSystem, string titleId, string titleName, string titlePath) : base(useCustomTitleBar: true, 46)
|
||||||
{
|
{
|
||||||
MinWidth = 500;
|
MinWidth = 500;
|
||||||
MinHeight = 650;
|
MinHeight = 650;
|
||||||
@ -44,6 +45,10 @@ namespace Ryujinx.Ava.UI.Windows
|
|||||||
|
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
|
|
||||||
|
FlushHeader.IsVisible = !ConfigurationState.Instance.ShowTitleBar;
|
||||||
|
NormalHeader.IsVisible = ConfigurationState.Instance.ShowTitleBar;
|
||||||
|
RyuLogo.Source = MainWindowViewModel.IconBitmap;
|
||||||
|
|
||||||
string modsBasePath = ModLoader.GetModsBasePath();
|
string modsBasePath = ModLoader.GetModsBasePath();
|
||||||
string titleModsPath = ModLoader.GetApplicationDir(modsBasePath, titleId);
|
string titleModsPath = ModLoader.GetApplicationDir(modsBasePath, titleId);
|
||||||
ulong titleIdValue = ulong.Parse(titleId, NumberStyles.HexNumber);
|
ulong titleIdValue = ulong.Parse(titleId, NumberStyles.HexNumber);
|
||||||
|
@ -21,12 +21,10 @@ namespace Ryujinx.Ava.UI.Windows
|
|||||||
SearchBoxNormal = { Text = titleId ?? string.Empty }
|
SearchBoxNormal = { Text = titleId ?? string.Empty }
|
||||||
});
|
});
|
||||||
|
|
||||||
public CompatibilityListWindow() : base(useCustomTitleBar: true)
|
public CompatibilityListWindow() : base(useCustomTitleBar: true, 37)
|
||||||
{
|
{
|
||||||
Title = RyujinxApp.FormatTitle(LocaleKeys.CompatibilityListTitle);
|
Title = RyujinxApp.FormatTitle(LocaleKeys.CompatibilityListTitle);
|
||||||
|
|
||||||
TitleBar.Height = 37;
|
|
||||||
|
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
|
|
||||||
RyuLogo.Source = MainWindowViewModel.IconBitmap;
|
RyuLogo.Source = MainWindowViewModel.IconBitmap;
|
||||||
|
@ -22,7 +22,7 @@ namespace Ryujinx.Ava.UI.Windows
|
|||||||
await appWindow.ShowDialog(owner ?? RyujinxApp.MainWindow);
|
await appWindow.ShowDialog(owner ?? RyujinxApp.MainWindow);
|
||||||
}
|
}
|
||||||
|
|
||||||
protected StyleableAppWindow(bool useCustomTitleBar = false)
|
protected StyleableAppWindow(bool useCustomTitleBar = false, double? titleBarHeight = null)
|
||||||
{
|
{
|
||||||
WindowStartupLocation = WindowStartupLocation.CenterOwner;
|
WindowStartupLocation = WindowStartupLocation.CenterOwner;
|
||||||
TransparencyLevelHint = [WindowTransparencyLevel.None];
|
TransparencyLevelHint = [WindowTransparencyLevel.None];
|
||||||
@ -34,6 +34,9 @@ namespace Ryujinx.Ava.UI.Windows
|
|||||||
{
|
{
|
||||||
TitleBar.ExtendsContentIntoTitleBar = !ConfigurationState.Instance.ShowTitleBar;
|
TitleBar.ExtendsContentIntoTitleBar = !ConfigurationState.Instance.ShowTitleBar;
|
||||||
TitleBar.TitleBarHitTestType = ConfigurationState.Instance.ShowTitleBar ? TitleBarHitTestType.Simple : TitleBarHitTestType.Complex;
|
TitleBar.TitleBarHitTestType = ConfigurationState.Instance.ShowTitleBar ? TitleBarHitTestType.Simple : TitleBarHitTestType.Complex;
|
||||||
|
|
||||||
|
if (TitleBar.ExtendsContentIntoTitleBar && titleBarHeight != null)
|
||||||
|
TitleBar.Height = titleBarHeight.Value;
|
||||||
}
|
}
|
||||||
|
|
||||||
Icon = MainWindowViewModel.IconBitmap;
|
Icon = MainWindowViewModel.IconBitmap;
|
||||||
|
Loading…
Reference in New Issue
Block a user