diff --git a/.github/labeler.yml b/.github/labeler.yml
index 027448437..b967cc776 100644
--- a/.github/labeler.yml
+++ b/.github/labeler.yml
@@ -20,7 +20,7 @@ gpu:
gui:
- changed-files:
- - any-glob-to-any-file: ['src/Ryujinx/**', 'src/Ryujinx.Ui.Common/**', 'src/Ryujinx.Ui.LocaleGenerator/**', 'src/Ryujinx.Ava/**']
+ - any-glob-to-any-file: ['src/Ryujinx/**', 'src/Ryujinx.UI.Common/**', 'src/Ryujinx.UI.LocaleGenerator/**', 'src/Ryujinx.Ava/**']
horizon:
- changed-files:
diff --git a/Ryujinx.sln b/Ryujinx.sln
index bb196cabc..47a5c714c 100644
--- a/Ryujinx.sln
+++ b/Ryujinx.sln
@@ -71,7 +71,7 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Ryujinx.Graphics.Nvdec.FFmp
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Ryujinx.Ava", "src\Ryujinx.Ava\Ryujinx.Ava.csproj", "{7C1B2721-13DA-4B62-B046-C626605ECCE6}"
EndProject
-Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Ryujinx.Ui.Common", "src\Ryujinx.Ui.Common\Ryujinx.Ui.Common.csproj", "{BA161CA0-CD65-4E6E-B644-51C8D1E542DC}"
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Ryujinx.UI.Common", "src\Ryujinx.UI.Common\Ryujinx.UI.Common.csproj", "{BA161CA0-CD65-4E6E-B644-51C8D1E542DC}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Ryujinx.Horizon.Generators", "src\Ryujinx.Horizon.Generators\Ryujinx.Horizon.Generators.csproj", "{6AE2A5E8-4C5A-48B9-997B-E1455C0355C6}"
EndProject
@@ -79,7 +79,7 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Ryujinx.Graphics.Vulkan", "
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Spv.Generator", "src\Spv.Generator\Spv.Generator.csproj", "{2BCB3D7A-38C0-4FE7-8FDA-374C6AD56D0E}"
EndProject
-Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Ryujinx.Ui.LocaleGenerator", "src\Ryujinx.Ui.LocaleGenerator\Ryujinx.Ui.LocaleGenerator.csproj", "{77D01AD9-2C98-478E-AE1D-8F7100738FB4}"
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Ryujinx.UI.LocaleGenerator", "src\Ryujinx.UI.LocaleGenerator\Ryujinx.UI.LocaleGenerator.csproj", "{77D01AD9-2C98-478E-AE1D-8F7100738FB4}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Ryujinx.Horizon.Common", "src\Ryujinx.Horizon.Common\Ryujinx.Horizon.Common.csproj", "{77F96ECE-4952-42DB-A528-DED25572A573}"
EndProject
diff --git a/src/Ryujinx.Ava/App.axaml.cs b/src/Ryujinx.Ava/App.axaml.cs
index 54e61c67c..387a6dc14 100644
--- a/src/Ryujinx.Ava/App.axaml.cs
+++ b/src/Ryujinx.Ava/App.axaml.cs
@@ -8,8 +8,8 @@ using Ryujinx.Ava.UI.Helpers;
using Ryujinx.Ava.UI.Windows;
using Ryujinx.Common;
using Ryujinx.Common.Logging;
-using Ryujinx.Ui.Common.Configuration;
-using Ryujinx.Ui.Common.Helper;
+using Ryujinx.UI.Common.Configuration;
+using Ryujinx.UI.Common.Helper;
using System;
using System.Diagnostics;
@@ -42,9 +42,9 @@ namespace Ryujinx.Ava
{
ApplyConfiguredTheme();
- ConfigurationState.Instance.Ui.BaseStyle.Event += ThemeChanged_Event;
- ConfigurationState.Instance.Ui.CustomThemePath.Event += ThemeChanged_Event;
- ConfigurationState.Instance.Ui.EnableCustomTheme.Event += CustomThemeChanged_Event;
+ ConfigurationState.Instance.UI.BaseStyle.Event += ThemeChanged_Event;
+ ConfigurationState.Instance.UI.CustomThemePath.Event += ThemeChanged_Event;
+ ConfigurationState.Instance.UI.EnableCustomTheme.Event += CustomThemeChanged_Event;
}
}
@@ -88,13 +88,13 @@ namespace Ryujinx.Ava
{
try
{
- string baseStyle = ConfigurationState.Instance.Ui.BaseStyle;
+ string baseStyle = ConfigurationState.Instance.UI.BaseStyle;
if (string.IsNullOrWhiteSpace(baseStyle))
{
- ConfigurationState.Instance.Ui.BaseStyle.Value = "Dark";
+ ConfigurationState.Instance.UI.BaseStyle.Value = "Dark";
- baseStyle = ConfigurationState.Instance.Ui.BaseStyle;
+ baseStyle = ConfigurationState.Instance.UI.BaseStyle;
}
RequestedThemeVariant = baseStyle switch
diff --git a/src/Ryujinx.Ava/AppHost.cs b/src/Ryujinx.Ava/AppHost.cs
index 696a4046f..04cec9579 100644
--- a/src/Ryujinx.Ava/AppHost.cs
+++ b/src/Ryujinx.Ava/AppHost.cs
@@ -34,10 +34,10 @@ using Ryujinx.HLE.HOS.Services.Account.Acc;
using Ryujinx.HLE.HOS.SystemState;
using Ryujinx.Input;
using Ryujinx.Input.HLE;
-using Ryujinx.Ui.App.Common;
-using Ryujinx.Ui.Common;
-using Ryujinx.Ui.Common.Configuration;
-using Ryujinx.Ui.Common.Helper;
+using Ryujinx.UI.App.Common;
+using Ryujinx.UI.Common;
+using Ryujinx.UI.Common.Configuration;
+using Ryujinx.UI.Common.Helper;
using Silk.NET.Vulkan;
using SixLabors.ImageSharp;
using SixLabors.ImageSharp.Formats.Png;
@@ -1070,7 +1070,7 @@ namespace Ryujinx.Ava
case KeyboardHotkeyState.Screenshot:
ScreenshotRequested = true;
break;
- case KeyboardHotkeyState.ShowUi:
+ case KeyboardHotkeyState.ShowUI:
_viewModel.ShowMenuAndStatusBar = !_viewModel.ShowMenuAndStatusBar;
break;
case KeyboardHotkeyState.Pause:
@@ -1160,9 +1160,9 @@ namespace Ryujinx.Ava
{
state = KeyboardHotkeyState.Screenshot;
}
- else if (_keyboardInterface.IsPressed((Key)ConfigurationState.Instance.Hid.Hotkeys.Value.ShowUi))
+ else if (_keyboardInterface.IsPressed((Key)ConfigurationState.Instance.Hid.Hotkeys.Value.ShowUI))
{
- state = KeyboardHotkeyState.ShowUi;
+ state = KeyboardHotkeyState.ShowUI;
}
else if (_keyboardInterface.IsPressed((Key)ConfigurationState.Instance.Hid.Hotkeys.Value.Pause))
{
diff --git a/src/Ryujinx.Ava/Common/ApplicationHelper.cs b/src/Ryujinx.Ava/Common/ApplicationHelper.cs
index 91ca8f4d5..622a6a024 100644
--- a/src/Ryujinx.Ava/Common/ApplicationHelper.cs
+++ b/src/Ryujinx.Ava/Common/ApplicationHelper.cs
@@ -18,8 +18,8 @@ using Ryujinx.Ava.UI.Helpers;
using Ryujinx.Common.Logging;
using Ryujinx.HLE.FileSystem;
using Ryujinx.HLE.HOS.Services.Account.Acc;
-using Ryujinx.Ui.App.Common;
-using Ryujinx.Ui.Common.Helper;
+using Ryujinx.UI.App.Common;
+using Ryujinx.UI.Common.Helper;
using System;
using System.Buffers;
using System.IO;
diff --git a/src/Ryujinx.Ava/Common/KeyboardHotkeyState.cs b/src/Ryujinx.Ava/Common/KeyboardHotkeyState.cs
index b24016404..6e4920988 100644
--- a/src/Ryujinx.Ava/Common/KeyboardHotkeyState.cs
+++ b/src/Ryujinx.Ava/Common/KeyboardHotkeyState.cs
@@ -5,7 +5,7 @@ namespace Ryujinx.Ava.Common
None,
ToggleVSync,
Screenshot,
- ShowUi,
+ ShowUI,
Pause,
ToggleMute,
ResScaleUp,
diff --git a/src/Ryujinx.Ava/Common/Locale/LocaleManager.cs b/src/Ryujinx.Ava/Common/Locale/LocaleManager.cs
index 0e613838d..b2f3e7ab9 100644
--- a/src/Ryujinx.Ava/Common/Locale/LocaleManager.cs
+++ b/src/Ryujinx.Ava/Common/Locale/LocaleManager.cs
@@ -1,7 +1,7 @@
using Ryujinx.Ava.UI.ViewModels;
using Ryujinx.Common;
using Ryujinx.Common.Utilities;
-using Ryujinx.Ui.Common.Configuration;
+using Ryujinx.UI.Common.Configuration;
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
@@ -38,9 +38,9 @@ namespace Ryujinx.Ava.Common.Locale
// If the view is loaded with the UI Previewer detached, then override it with the saved one or default.
if (Program.PreviewerDetached)
{
- if (!string.IsNullOrEmpty(ConfigurationState.Instance.Ui.LanguageCode.Value))
+ if (!string.IsNullOrEmpty(ConfigurationState.Instance.UI.LanguageCode.Value))
{
- localeLanguageCode = ConfigurationState.Instance.Ui.LanguageCode.Value;
+ localeLanguageCode = ConfigurationState.Instance.UI.LanguageCode.Value;
}
else
{
diff --git a/src/Ryujinx.Ava/Modules/Updater/Updater.cs b/src/Ryujinx.Ava/Modules/Updater/Updater.cs
index ad33b1013..bd211fa5b 100644
--- a/src/Ryujinx.Ava/Modules/Updater/Updater.cs
+++ b/src/Ryujinx.Ava/Modules/Updater/Updater.cs
@@ -10,8 +10,8 @@ using Ryujinx.Ava.UI.Helpers;
using Ryujinx.Common;
using Ryujinx.Common.Logging;
using Ryujinx.Common.Utilities;
-using Ryujinx.Ui.Common.Helper;
-using Ryujinx.Ui.Common.Models.Github;
+using Ryujinx.UI.Common.Helper;
+using Ryujinx.UI.Common.Models.Github;
using System;
using System.Collections.Generic;
using System.Diagnostics;
diff --git a/src/Ryujinx.Ava/Program.cs b/src/Ryujinx.Ava/Program.cs
index d85749eff..7751bb520 100644
--- a/src/Ryujinx.Ava/Program.cs
+++ b/src/Ryujinx.Ava/Program.cs
@@ -9,10 +9,10 @@ using Ryujinx.Common.Logging;
using Ryujinx.Common.SystemInterop;
using Ryujinx.Modules;
using Ryujinx.SDL2.Common;
-using Ryujinx.Ui.Common;
-using Ryujinx.Ui.Common.Configuration;
-using Ryujinx.Ui.Common.Helper;
-using Ryujinx.Ui.Common.SystemInfo;
+using Ryujinx.UI.Common;
+using Ryujinx.UI.Common.Configuration;
+using Ryujinx.UI.Common.Helper;
+using Ryujinx.UI.Common.SystemInfo;
using System;
using System.IO;
using System.Runtime.InteropServices;
diff --git a/src/Ryujinx.Ava/Ryujinx.Ava.csproj b/src/Ryujinx.Ava/Ryujinx.Ava.csproj
index 5665178a7..91c2744f0 100644
--- a/src/Ryujinx.Ava/Ryujinx.Ava.csproj
+++ b/src/Ryujinx.Ava/Ryujinx.Ava.csproj
@@ -73,8 +73,8 @@
-
-
+
+
@@ -103,7 +103,7 @@
-
+
Designer
diff --git a/src/Ryujinx.Ava/UI/Applet/AvaHostUiHandler.cs b/src/Ryujinx.Ava/UI/Applet/AvaHostUIHandler.cs
similarity index 94%
rename from src/Ryujinx.Ava/UI/Applet/AvaHostUiHandler.cs
rename to src/Ryujinx.Ava/UI/Applet/AvaHostUIHandler.cs
index e11939104..4bcc35a7a 100644
--- a/src/Ryujinx.Ava/UI/Applet/AvaHostUiHandler.cs
+++ b/src/Ryujinx.Ava/UI/Applet/AvaHostUIHandler.cs
@@ -8,26 +8,26 @@ using Ryujinx.Ava.UI.Windows;
using Ryujinx.HLE;
using Ryujinx.HLE.HOS.Applets;
using Ryujinx.HLE.HOS.Services.Am.AppletOE.ApplicationProxyService.ApplicationProxy.Types;
-using Ryujinx.HLE.Ui;
+using Ryujinx.HLE.UI;
using System;
using System.Threading;
namespace Ryujinx.Ava.UI.Applet
{
- internal class AvaHostUiHandler : IHostUiHandler
+ internal class AvaHostUIHandler : IHostUIHandler
{
private readonly MainWindow _parent;
- public IHostUiTheme HostUiTheme { get; }
+ public IHostUITheme HostUITheme { get; }
- public AvaHostUiHandler(MainWindow parent)
+ public AvaHostUIHandler(MainWindow parent)
{
_parent = parent;
- HostUiTheme = new AvaloniaHostUiTheme(parent);
+ HostUITheme = new AvaloniaHostUITheme(parent);
}
- public bool DisplayMessageDialog(ControllerAppletUiArgs args)
+ public bool DisplayMessageDialog(ControllerAppletUIArgs args)
{
ManualResetEvent dialogCloseEvent = new(false);
@@ -110,7 +110,7 @@ namespace Ryujinx.Ava.UI.Applet
return okPressed;
}
- public bool DisplayInputDialog(SoftwareKeyboardUiArgs args, out string userText)
+ public bool DisplayInputDialog(SoftwareKeyboardUIArgs args, out string userText)
{
ManualResetEvent dialogCloseEvent = new(false);
diff --git a/src/Ryujinx.Ava/UI/Applet/AvaloniaDynamicTextInputHandler.cs b/src/Ryujinx.Ava/UI/Applet/AvaloniaDynamicTextInputHandler.cs
index 2411659f7..531d00611 100644
--- a/src/Ryujinx.Ava/UI/Applet/AvaloniaDynamicTextInputHandler.cs
+++ b/src/Ryujinx.Ava/UI/Applet/AvaloniaDynamicTextInputHandler.cs
@@ -5,7 +5,7 @@ using Avalonia.Threading;
using Ryujinx.Ava.Input;
using Ryujinx.Ava.UI.Helpers;
using Ryujinx.Ava.UI.Windows;
-using Ryujinx.HLE.Ui;
+using Ryujinx.HLE.UI;
using System;
using System.Threading;
using HidKey = Ryujinx.Common.Configuration.Hid.Key;
diff --git a/src/Ryujinx.Ava/UI/Applet/AvaloniaHostUiTheme.cs b/src/Ryujinx.Ava/UI/Applet/AvaloniaHostUITheme.cs
similarity index 92%
rename from src/Ryujinx.Ava/UI/Applet/AvaloniaHostUiTheme.cs
rename to src/Ryujinx.Ava/UI/Applet/AvaloniaHostUITheme.cs
index 4ee177d72..016fb4842 100644
--- a/src/Ryujinx.Ava/UI/Applet/AvaloniaHostUiTheme.cs
+++ b/src/Ryujinx.Ava/UI/Applet/AvaloniaHostUITheme.cs
@@ -1,13 +1,13 @@
using Avalonia.Media;
using Ryujinx.Ava.UI.Windows;
-using Ryujinx.HLE.Ui;
+using Ryujinx.HLE.UI;
using System;
namespace Ryujinx.Ava.UI.Applet
{
- class AvaloniaHostUiTheme : IHostUiTheme
+ class AvaloniaHostUITheme : IHostUITheme
{
- public AvaloniaHostUiTheme(MainWindow parent)
+ public AvaloniaHostUITheme(MainWindow parent)
{
FontFamily = OperatingSystem.IsWindows() && OperatingSystem.IsWindowsVersionAtLeast(10, 0, 22000) ? "Segoe UI Variable" : parent.FontFamily.Name;
DefaultBackgroundColor = BrushToThemeColor(parent.Background);
diff --git a/src/Ryujinx.Ava/UI/Applet/ControllerAppletDialog.axaml.cs b/src/Ryujinx.Ava/UI/Applet/ControllerAppletDialog.axaml.cs
index f7d751a66..279af07c3 100644
--- a/src/Ryujinx.Ava/UI/Applet/ControllerAppletDialog.axaml.cs
+++ b/src/Ryujinx.Ava/UI/Applet/ControllerAppletDialog.axaml.cs
@@ -36,7 +36,7 @@ namespace Ryujinx.Ava.UI.Applet
private readonly MainWindow _mainWindow;
- public ControllerAppletDialog(MainWindow mainWindow, ControllerAppletUiArgs args)
+ public ControllerAppletDialog(MainWindow mainWindow, ControllerAppletUIArgs args)
{
if (args.PlayerCountMin == args.PlayerCountMax)
{
@@ -69,7 +69,7 @@ namespace Ryujinx.Ava.UI.Applet
InitializeComponent();
}
- public static async Task ShowControllerAppletDialog(MainWindow window, ControllerAppletUiArgs args)
+ public static async Task ShowControllerAppletDialog(MainWindow window, ControllerAppletUIArgs args)
{
ContentDialog contentDialog = new();
UserResult result = UserResult.Cancel;
diff --git a/src/Ryujinx.Ava/UI/Applet/ErrorAppletWindow.axaml b/src/Ryujinx.Ava/UI/Applet/ErrorAppletWindow.axaml
index 6186b7d93..51f370519 100644
--- a/src/Ryujinx.Ava/UI/Applet/ErrorAppletWindow.axaml
+++ b/src/Ryujinx.Ava/UI/Applet/ErrorAppletWindow.axaml
@@ -34,7 +34,7 @@
Height="80"
MinWidth="50"
Margin="5,10,20,10"
- Source="resm:Ryujinx.Ui.Common.Resources.Logo_Ryujinx.png?assembly=Ryujinx.Ui.Common" />
+ Source="resm:Ryujinx.UI.Common.Resources.Logo_Ryujinx.png?assembly=Ryujinx.UI.Common" />
+ Source="resm:Ryujinx.UI.Common.Resources.Logo_Ryujinx.png?assembly=Ryujinx.UI.Common" />
ShowInputDialog(string title, SoftwareKeyboardUiArgs args)
+ public static async Task<(UserResult Result, string Input)> ShowInputDialog(string title, SoftwareKeyboardUIArgs args)
{
ContentDialog contentDialog = new();
diff --git a/src/Ryujinx.Ava/UI/Controls/ApplicationContextMenu.axaml.cs b/src/Ryujinx.Ava/UI/Controls/ApplicationContextMenu.axaml.cs
index 01d977091..1fb9d3b31 100644
--- a/src/Ryujinx.Ava/UI/Controls/ApplicationContextMenu.axaml.cs
+++ b/src/Ryujinx.Ava/UI/Controls/ApplicationContextMenu.axaml.cs
@@ -11,8 +11,8 @@ using Ryujinx.Ava.UI.ViewModels;
using Ryujinx.Ava.UI.Windows;
using Ryujinx.Common.Configuration;
using Ryujinx.HLE.HOS;
-using Ryujinx.Ui.App.Common;
-using Ryujinx.Ui.Common.Helper;
+using Ryujinx.UI.App.Common;
+using Ryujinx.UI.Common.Helper;
using System;
using System.Collections.Generic;
using System.Globalization;
diff --git a/src/Ryujinx.Ava/UI/Controls/ApplicationGridView.axaml.cs b/src/Ryujinx.Ava/UI/Controls/ApplicationGridView.axaml.cs
index 821d6fd9f..ee15bc8d5 100644
--- a/src/Ryujinx.Ava/UI/Controls/ApplicationGridView.axaml.cs
+++ b/src/Ryujinx.Ava/UI/Controls/ApplicationGridView.axaml.cs
@@ -3,7 +3,7 @@ using Avalonia.Input;
using Avalonia.Interactivity;
using Ryujinx.Ava.UI.Helpers;
using Ryujinx.Ava.UI.ViewModels;
-using Ryujinx.Ui.App.Common;
+using Ryujinx.UI.App.Common;
using System;
namespace Ryujinx.Ava.UI.Controls
diff --git a/src/Ryujinx.Ava/UI/Controls/ApplicationListView.axaml.cs b/src/Ryujinx.Ava/UI/Controls/ApplicationListView.axaml.cs
index dd60503af..8681158ff 100644
--- a/src/Ryujinx.Ava/UI/Controls/ApplicationListView.axaml.cs
+++ b/src/Ryujinx.Ava/UI/Controls/ApplicationListView.axaml.cs
@@ -3,7 +3,7 @@ using Avalonia.Input;
using Avalonia.Interactivity;
using Ryujinx.Ava.UI.Helpers;
using Ryujinx.Ava.UI.ViewModels;
-using Ryujinx.Ui.App.Common;
+using Ryujinx.UI.App.Common;
using System;
namespace Ryujinx.Ava.UI.Controls
diff --git a/src/Ryujinx.Ava/UI/Controls/UpdateWaitWindow.axaml b/src/Ryujinx.Ava/UI/Controls/UpdateWaitWindow.axaml
index c5041230d..09fa04045 100644
--- a/src/Ryujinx.Ava/UI/Controls/UpdateWaitWindow.axaml
+++ b/src/Ryujinx.Ava/UI/Controls/UpdateWaitWindow.axaml
@@ -26,7 +26,7 @@
Height="70"
MinWidth="50"
Margin="5,10,20,10"
- Source="resm:Ryujinx.Ui.Common.Resources.Logo_Ryujinx.png?assembly=Ryujinx.Ui.Common" />
+ Source="resm:Ryujinx.UI.Common.Resources.Logo_Ryujinx.png?assembly=Ryujinx.UI.Common" />
-
\ No newline at end of file
+
diff --git a/src/Ryujinx.Ava/UI/Helpers/ApplicationOpenedEventArgs.cs b/src/Ryujinx.Ava/UI/Helpers/ApplicationOpenedEventArgs.cs
index cd63a99b0..bc5622b54 100644
--- a/src/Ryujinx.Ava/UI/Helpers/ApplicationOpenedEventArgs.cs
+++ b/src/Ryujinx.Ava/UI/Helpers/ApplicationOpenedEventArgs.cs
@@ -1,5 +1,5 @@
using Avalonia.Interactivity;
-using Ryujinx.Ui.App.Common;
+using Ryujinx.UI.App.Common;
namespace Ryujinx.Ava.UI.Helpers
{
diff --git a/src/Ryujinx.Ava/UI/Helpers/ContentDialogHelper.cs b/src/Ryujinx.Ava/UI/Helpers/ContentDialogHelper.cs
index b9d919f95..15b7ddd14 100644
--- a/src/Ryujinx.Ava/UI/Helpers/ContentDialogHelper.cs
+++ b/src/Ryujinx.Ava/UI/Helpers/ContentDialogHelper.cs
@@ -383,7 +383,7 @@ namespace Ryujinx.Ava.UI.Helpers
{
result = ContentDialogResult.None;
- Logger.Warning?.Print(LogClass.Ui, "Content dialog overlay failed to populate. Default value has been returned.");
+ Logger.Warning?.Print(LogClass.UI, "Content dialog overlay failed to populate. Default value has been returned.");
}
return result;
diff --git a/src/Ryujinx.Ava/UI/Helpers/LocalizedNeverConverter.cs b/src/Ryujinx.Ava/UI/Helpers/LocalizedNeverConverter.cs
index b61a924f4..26fe36c4c 100644
--- a/src/Ryujinx.Ava/UI/Helpers/LocalizedNeverConverter.cs
+++ b/src/Ryujinx.Ava/UI/Helpers/LocalizedNeverConverter.cs
@@ -1,7 +1,7 @@
using Avalonia.Data.Converters;
using Avalonia.Markup.Xaml;
using Ryujinx.Ava.Common.Locale;
-using Ryujinx.Ui.Common.Helper;
+using Ryujinx.UI.Common.Helper;
using System;
using System.Globalization;
diff --git a/src/Ryujinx.Ava/UI/Helpers/LoggerAdapter.cs b/src/Ryujinx.Ava/UI/Helpers/LoggerAdapter.cs
index 0b1789880..fc7145410 100644
--- a/src/Ryujinx.Ava/UI/Helpers/LoggerAdapter.cs
+++ b/src/Ryujinx.Ava/UI/Helpers/LoggerAdapter.cs
@@ -39,12 +39,12 @@ namespace Ryujinx.Ava.UI.Helpers
public void Log(AvaLogLevel level, string area, object source, string messageTemplate)
{
- GetLog(level)?.PrintMsg(RyuLogClass.Ui, Format(level, area, messageTemplate, source, null));
+ GetLog(level)?.PrintMsg(RyuLogClass.UI, Format(level, area, messageTemplate, source, null));
}
public void Log(AvaLogLevel level, string area, object source, string messageTemplate, params object[] propertyValues)
{
- GetLog(level)?.PrintMsg(RyuLogClass.Ui, Format(level, area, messageTemplate, source, propertyValues));
+ GetLog(level)?.PrintMsg(RyuLogClass.UI, Format(level, area, messageTemplate, source, propertyValues));
}
private static string Format(AvaLogLevel level, string area, string template, object source, object[] v)
diff --git a/src/Ryujinx.Ava/UI/Helpers/UserErrorDialog.cs b/src/Ryujinx.Ava/UI/Helpers/UserErrorDialog.cs
index fc82bd6b1..9a44b862b 100644
--- a/src/Ryujinx.Ava/UI/Helpers/UserErrorDialog.cs
+++ b/src/Ryujinx.Ava/UI/Helpers/UserErrorDialog.cs
@@ -1,6 +1,6 @@
using Ryujinx.Ava.Common.Locale;
-using Ryujinx.Ui.Common;
-using Ryujinx.Ui.Common.Helper;
+using Ryujinx.UI.Common;
+using Ryujinx.UI.Common.Helper;
using System.Threading.Tasks;
namespace Ryujinx.Ava.UI.Helpers
diff --git a/src/Ryujinx.Ava/UI/Models/Generic/LastPlayedSortComparer.cs b/src/Ryujinx.Ava/UI/Models/Generic/LastPlayedSortComparer.cs
index 8340d39df..224f78f45 100644
--- a/src/Ryujinx.Ava/UI/Models/Generic/LastPlayedSortComparer.cs
+++ b/src/Ryujinx.Ava/UI/Models/Generic/LastPlayedSortComparer.cs
@@ -1,4 +1,4 @@
-using Ryujinx.Ui.App.Common;
+using Ryujinx.UI.App.Common;
using System;
using System.Collections.Generic;
diff --git a/src/Ryujinx.Ava/UI/Models/Generic/TimePlayedSortComparer.cs b/src/Ryujinx.Ava/UI/Models/Generic/TimePlayedSortComparer.cs
index d53ff566f..f0fb035d1 100644
--- a/src/Ryujinx.Ava/UI/Models/Generic/TimePlayedSortComparer.cs
+++ b/src/Ryujinx.Ava/UI/Models/Generic/TimePlayedSortComparer.cs
@@ -1,4 +1,4 @@
-using Ryujinx.Ui.App.Common;
+using Ryujinx.UI.App.Common;
using System;
using System.Collections.Generic;
diff --git a/src/Ryujinx.Ava/UI/Models/SaveModel.cs b/src/Ryujinx.Ava/UI/Models/SaveModel.cs
index 7b476932b..d6dea2f69 100644
--- a/src/Ryujinx.Ava/UI/Models/SaveModel.cs
+++ b/src/Ryujinx.Ava/UI/Models/SaveModel.cs
@@ -3,8 +3,8 @@ using LibHac.Ncm;
using Ryujinx.Ava.UI.ViewModels;
using Ryujinx.Ava.UI.Windows;
using Ryujinx.HLE.FileSystem;
-using Ryujinx.Ui.App.Common;
-using Ryujinx.Ui.Common.Helper;
+using Ryujinx.UI.App.Common;
+using Ryujinx.UI.Common.Helper;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
diff --git a/src/Ryujinx.Ava/UI/Renderer/EmbeddedWindow.cs b/src/Ryujinx.Ava/UI/Renderer/EmbeddedWindow.cs
index fa55c8d3f..3bf19b43e 100644
--- a/src/Ryujinx.Ava/UI/Renderer/EmbeddedWindow.cs
+++ b/src/Ryujinx.Ava/UI/Renderer/EmbeddedWindow.cs
@@ -3,8 +3,8 @@ using Avalonia.Controls;
using Avalonia.Input;
using Avalonia.Platform;
using Ryujinx.Common.Configuration;
-using Ryujinx.Ui.Common.Configuration;
-using Ryujinx.Ui.Common.Helper;
+using Ryujinx.UI.Common.Configuration;
+using Ryujinx.UI.Common.Helper;
using SPB.Graphics;
using SPB.Platform;
using SPB.Platform.GLX;
diff --git a/src/Ryujinx.Ava/UI/Renderer/EmbeddedWindowOpenGL.cs b/src/Ryujinx.Ava/UI/Renderer/EmbeddedWindowOpenGL.cs
index 769a1c91a..3842301de 100644
--- a/src/Ryujinx.Ava/UI/Renderer/EmbeddedWindowOpenGL.cs
+++ b/src/Ryujinx.Ava/UI/Renderer/EmbeddedWindowOpenGL.cs
@@ -3,7 +3,7 @@ using Ryujinx.Common.Configuration;
using Ryujinx.Common.Logging;
using Ryujinx.Graphics.GAL;
using Ryujinx.Graphics.OpenGL;
-using Ryujinx.Ui.Common.Configuration;
+using Ryujinx.UI.Common.Configuration;
using SPB.Graphics;
using SPB.Graphics.Exceptions;
using SPB.Graphics.OpenGL;
@@ -75,7 +75,7 @@ namespace Ryujinx.Ava.UI.Renderer
throw;
}
- Logger.Warning?.Print(LogClass.Ui, $"Failed to {(!unbind ? "bind" : "unbind")} OpenGL context: {e}");
+ Logger.Warning?.Print(LogClass.UI, $"Failed to {(!unbind ? "bind" : "unbind")} OpenGL context: {e}");
}
}
diff --git a/src/Ryujinx.Ava/UI/Renderer/RendererHost.axaml.cs b/src/Ryujinx.Ava/UI/Renderer/RendererHost.axaml.cs
index 12c18e4a7..d055d9ea4 100644
--- a/src/Ryujinx.Ava/UI/Renderer/RendererHost.axaml.cs
+++ b/src/Ryujinx.Ava/UI/Renderer/RendererHost.axaml.cs
@@ -1,7 +1,7 @@
using Avalonia;
using Avalonia.Controls;
using Ryujinx.Common.Configuration;
-using Ryujinx.Ui.Common.Configuration;
+using Ryujinx.UI.Common.Configuration;
using System;
namespace Ryujinx.Ava.UI.Renderer
diff --git a/src/Ryujinx.Ava/UI/ViewModels/AboutWindowViewModel.cs b/src/Ryujinx.Ava/UI/ViewModels/AboutWindowViewModel.cs
index 70ede4c12..6020f40e0 100644
--- a/src/Ryujinx.Ava/UI/ViewModels/AboutWindowViewModel.cs
+++ b/src/Ryujinx.Ava/UI/ViewModels/AboutWindowViewModel.cs
@@ -3,7 +3,7 @@ using Avalonia.Platform;
using Avalonia.Threading;
using Ryujinx.Ava.Common.Locale;
using Ryujinx.Common.Utilities;
-using Ryujinx.Ui.Common.Configuration;
+using Ryujinx.UI.Common.Configuration;
using System;
using System.Net.Http;
using System.Net.NetworkInformation;
@@ -87,19 +87,19 @@ namespace Ryujinx.Ava.UI.ViewModels
{
Version = Program.Version;
- if (ConfigurationState.Instance.Ui.BaseStyle.Value == "Light")
+ if (ConfigurationState.Instance.UI.BaseStyle.Value == "Light")
{
- GithubLogo = new Bitmap(AssetLoader.Open(new Uri("resm:Ryujinx.Ui.Common.Resources.Logo_GitHub_Light.png?assembly=Ryujinx.Ui.Common")));
- DiscordLogo = new Bitmap(AssetLoader.Open(new Uri("resm:Ryujinx.Ui.Common.Resources.Logo_Discord_Light.png?assembly=Ryujinx.Ui.Common")));
- PatreonLogo = new Bitmap(AssetLoader.Open(new Uri("resm:Ryujinx.Ui.Common.Resources.Logo_Patreon_Light.png?assembly=Ryujinx.Ui.Common")));
- TwitterLogo = new Bitmap(AssetLoader.Open(new Uri("resm:Ryujinx.Ui.Common.Resources.Logo_Twitter_Light.png?assembly=Ryujinx.Ui.Common")));
+ GithubLogo = new Bitmap(AssetLoader.Open(new Uri("resm:Ryujinx.UI.Common.Resources.Logo_GitHub_Light.png?assembly=Ryujinx.UI.Common")));
+ DiscordLogo = new Bitmap(AssetLoader.Open(new Uri("resm:Ryujinx.UI.Common.Resources.Logo_Discord_Light.png?assembly=Ryujinx.UI.Common")));
+ PatreonLogo = new Bitmap(AssetLoader.Open(new Uri("resm:Ryujinx.UI.Common.Resources.Logo_Patreon_Light.png?assembly=Ryujinx.UI.Common")));
+ TwitterLogo = new Bitmap(AssetLoader.Open(new Uri("resm:Ryujinx.UI.Common.Resources.Logo_Twitter_Light.png?assembly=Ryujinx.UI.Common")));
}
else
{
- GithubLogo = new Bitmap(AssetLoader.Open(new Uri("resm:Ryujinx.Ui.Common.Resources.Logo_GitHub_Dark.png?assembly=Ryujinx.Ui.Common")));
- DiscordLogo = new Bitmap(AssetLoader.Open(new Uri("resm:Ryujinx.Ui.Common.Resources.Logo_Discord_Dark.png?assembly=Ryujinx.Ui.Common")));
- PatreonLogo = new Bitmap(AssetLoader.Open(new Uri("resm:Ryujinx.Ui.Common.Resources.Logo_Patreon_Dark.png?assembly=Ryujinx.Ui.Common")));
- TwitterLogo = new Bitmap(AssetLoader.Open(new Uri("resm:Ryujinx.Ui.Common.Resources.Logo_Twitter_Dark.png?assembly=Ryujinx.Ui.Common")));
+ GithubLogo = new Bitmap(AssetLoader.Open(new Uri("resm:Ryujinx.UI.Common.Resources.Logo_GitHub_Dark.png?assembly=Ryujinx.UI.Common")));
+ DiscordLogo = new Bitmap(AssetLoader.Open(new Uri("resm:Ryujinx.UI.Common.Resources.Logo_Discord_Dark.png?assembly=Ryujinx.UI.Common")));
+ PatreonLogo = new Bitmap(AssetLoader.Open(new Uri("resm:Ryujinx.UI.Common.Resources.Logo_Patreon_Dark.png?assembly=Ryujinx.UI.Common")));
+ TwitterLogo = new Bitmap(AssetLoader.Open(new Uri("resm:Ryujinx.UI.Common.Resources.Logo_Twitter_Dark.png?assembly=Ryujinx.UI.Common")));
}
Dispatcher.UIThread.InvokeAsync(DownloadPatronsJson);
diff --git a/src/Ryujinx.Ava/UI/ViewModels/AmiiboWindowViewModel.cs b/src/Ryujinx.Ava/UI/ViewModels/AmiiboWindowViewModel.cs
index 0e0d858a4..8f09568a6 100644
--- a/src/Ryujinx.Ava/UI/ViewModels/AmiiboWindowViewModel.cs
+++ b/src/Ryujinx.Ava/UI/ViewModels/AmiiboWindowViewModel.cs
@@ -9,7 +9,7 @@ using Ryujinx.Common;
using Ryujinx.Common.Configuration;
using Ryujinx.Common.Logging;
using Ryujinx.Common.Utilities;
-using Ryujinx.Ui.Common.Models.Amiibo;
+using Ryujinx.UI.Common.Models.Amiibo;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
@@ -65,7 +65,7 @@ namespace Ryujinx.Ava.UI.ViewModels
_amiiboSeries = new ObservableCollection();
_amiibos = new AvaloniaList();
- _amiiboLogoBytes = EmbeddedResources.Read("Ryujinx.Ui.Common/Resources/Logo_Amiibo.png");
+ _amiiboLogoBytes = EmbeddedResources.Read("Ryujinx.UI.Common/Resources/Logo_Amiibo.png");
_ = LoadContentAsync();
}
diff --git a/src/Ryujinx.Ava/UI/ViewModels/ControllerInputViewModel.cs b/src/Ryujinx.Ava/UI/ViewModels/ControllerInputViewModel.cs
index 042803f36..71ad2c127 100644
--- a/src/Ryujinx.Ava/UI/ViewModels/ControllerInputViewModel.cs
+++ b/src/Ryujinx.Ava/UI/ViewModels/ControllerInputViewModel.cs
@@ -19,7 +19,7 @@ using Ryujinx.Common.Configuration.Hid.Keyboard;
using Ryujinx.Common.Logging;
using Ryujinx.Common.Utilities;
using Ryujinx.Input;
-using Ryujinx.Ui.Common.Configuration;
+using Ryujinx.UI.Common.Configuration;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
@@ -35,10 +35,10 @@ namespace Ryujinx.Ava.UI.ViewModels
public class ControllerInputViewModel : BaseModel, IDisposable
{
private const string Disabled = "disabled";
- private const string ProControllerResource = "Ryujinx.Ui.Common/Resources/Controller_ProCon.svg";
- private const string JoyConPairResource = "Ryujinx.Ui.Common/Resources/Controller_JoyConPair.svg";
- private const string JoyConLeftResource = "Ryujinx.Ui.Common/Resources/Controller_JoyConLeft.svg";
- private const string JoyConRightResource = "Ryujinx.Ui.Common/Resources/Controller_JoyConRight.svg";
+ private const string ProControllerResource = "Ryujinx.UI.Common/Resources/Controller_ProCon.svg";
+ private const string JoyConPairResource = "Ryujinx.UI.Common/Resources/Controller_JoyConPair.svg";
+ private const string JoyConLeftResource = "Ryujinx.UI.Common/Resources/Controller_JoyConLeft.svg";
+ private const string JoyConRightResource = "Ryujinx.UI.Common/Resources/Controller_JoyConRight.svg";
private const string KeyboardString = "keyboard";
private const string ControllerString = "controller";
private readonly MainWindow _mainWindow;
diff --git a/src/Ryujinx.Ava/UI/ViewModels/MainWindowViewModel.cs b/src/Ryujinx.Ava/UI/ViewModels/MainWindowViewModel.cs
index 243d870a4..17bd69b14 100644
--- a/src/Ryujinx.Ava/UI/ViewModels/MainWindowViewModel.cs
+++ b/src/Ryujinx.Ava/UI/ViewModels/MainWindowViewModel.cs
@@ -25,13 +25,13 @@ using Ryujinx.HLE;
using Ryujinx.HLE.FileSystem;
using Ryujinx.HLE.HOS;
using Ryujinx.HLE.HOS.Services.Account.Acc;
-using Ryujinx.HLE.Ui;
+using Ryujinx.HLE.UI;
using Ryujinx.Input.HLE;
using Ryujinx.Modules;
-using Ryujinx.Ui.App.Common;
-using Ryujinx.Ui.Common;
-using Ryujinx.Ui.Common.Configuration;
-using Ryujinx.Ui.Common.Helper;
+using Ryujinx.UI.App.Common;
+using Ryujinx.UI.Common;
+using Ryujinx.UI.Common.Configuration;
+using Ryujinx.UI.Common.Helper;
using SixLabors.ImageSharp.PixelFormats;
using System;
using System.Collections.Generic;
@@ -138,7 +138,7 @@ namespace Ryujinx.Ava.UI.ViewModels
InputManager inputManager,
UserChannelPersistence userChannelPersistence,
LibHacHorizonManager libHacHorizonManager,
- IHostUiHandler uiHandler,
+ IHostUIHandler uiHandler,
Action showLoading,
Action switchToGameControl,
Action setMainContent,
@@ -685,10 +685,10 @@ namespace Ryujinx.Ava.UI.ViewModels
public bool StartGamesInFullscreen
{
- get => ConfigurationState.Instance.Ui.StartFullscreen;
+ get => ConfigurationState.Instance.UI.StartFullscreen;
set
{
- ConfigurationState.Instance.Ui.StartFullscreen.Value = value;
+ ConfigurationState.Instance.UI.StartFullscreen.Value = value;
ConfigurationState.Instance.ToFileFormat().SaveConfig(Program.ConfigurationPath);
@@ -698,10 +698,10 @@ namespace Ryujinx.Ava.UI.ViewModels
public bool ShowConsole
{
- get => ConfigurationState.Instance.Ui.ShowConsole;
+ get => ConfigurationState.Instance.UI.ShowConsole;
set
{
- ConfigurationState.Instance.Ui.ShowConsole.Value = value;
+ ConfigurationState.Instance.UI.ShowConsole.Value = value;
ConfigurationState.Instance.ToFileFormat().SaveConfig(Program.ConfigurationPath);
@@ -743,10 +743,10 @@ namespace Ryujinx.Ava.UI.ViewModels
public Glyph Glyph
{
- get => (Glyph)ConfigurationState.Instance.Ui.GameListViewMode.Value;
+ get => (Glyph)ConfigurationState.Instance.UI.GameListViewMode.Value;
set
{
- ConfigurationState.Instance.Ui.GameListViewMode.Value = (int)value;
+ ConfigurationState.Instance.UI.GameListViewMode.Value = (int)value;
OnPropertyChanged();
OnPropertyChanged(nameof(IsGrid));
@@ -758,9 +758,9 @@ namespace Ryujinx.Ava.UI.ViewModels
public bool ShowNames
{
- get => ConfigurationState.Instance.Ui.ShowNames && ConfigurationState.Instance.Ui.GridSize > 1; set
+ get => ConfigurationState.Instance.UI.ShowNames && ConfigurationState.Instance.UI.GridSize > 1; set
{
- ConfigurationState.Instance.Ui.ShowNames.Value = value;
+ ConfigurationState.Instance.UI.ShowNames.Value = value;
OnPropertyChanged();
OnPropertyChanged(nameof(GridSizeScale));
@@ -772,10 +772,10 @@ namespace Ryujinx.Ava.UI.ViewModels
internal ApplicationSort SortMode
{
- get => (ApplicationSort)ConfigurationState.Instance.Ui.ApplicationSort.Value;
+ get => (ApplicationSort)ConfigurationState.Instance.UI.ApplicationSort.Value;
private set
{
- ConfigurationState.Instance.Ui.ApplicationSort.Value = (int)value;
+ ConfigurationState.Instance.UI.ApplicationSort.Value = (int)value;
OnPropertyChanged();
OnPropertyChanged(nameof(SortName));
@@ -788,7 +788,7 @@ namespace Ryujinx.Ava.UI.ViewModels
{
get
{
- return ConfigurationState.Instance.Ui.GridSize.Value switch
+ return ConfigurationState.Instance.UI.GridSize.Value switch
{
1 => 78,
2 => 100,
@@ -803,7 +803,7 @@ namespace Ryujinx.Ava.UI.ViewModels
{
get
{
- return ConfigurationState.Instance.Ui.GridSize.Value switch
+ return ConfigurationState.Instance.UI.GridSize.Value switch
{
1 => 120,
2 => ShowNames ? 210 : 150,
@@ -816,10 +816,10 @@ namespace Ryujinx.Ava.UI.ViewModels
public int GridSizeScale
{
- get => ConfigurationState.Instance.Ui.GridSize;
+ get => ConfigurationState.Instance.UI.GridSize;
set
{
- ConfigurationState.Instance.Ui.GridSize.Value = value;
+ ConfigurationState.Instance.UI.GridSize.Value = value;
if (value < 2)
{
@@ -860,10 +860,10 @@ namespace Ryujinx.Ava.UI.ViewModels
public bool IsAscending
{
- get => ConfigurationState.Instance.Ui.IsAscendingOrder;
+ get => ConfigurationState.Instance.UI.IsAscendingOrder;
private set
{
- ConfigurationState.Instance.Ui.IsAscendingOrder.Value = value;
+ ConfigurationState.Instance.UI.IsAscendingOrder.Value = value;
OnPropertyChanged();
OnPropertyChanged(nameof(SortMode));
@@ -919,7 +919,7 @@ namespace Ryujinx.Ava.UI.ViewModels
public RendererHost RendererHostControl { get; private set; }
public bool IsClosing { get; set; }
public LibHacHorizonManager LibHacHorizonManager { get; internal set; }
- public IHostUiHandler UiHandler { get; internal set; }
+ public IHostUIHandler UiHandler { get; internal set; }
public bool IsSortedByFavorite => SortMode == ApplicationSort.Favorite;
public bool IsSortedByTitle => SortMode == ApplicationSort.Title;
public bool IsSortedByDeveloper => SortMode == ApplicationSort.Developer;
@@ -928,10 +928,10 @@ namespace Ryujinx.Ava.UI.ViewModels
public bool IsSortedByType => SortMode == ApplicationSort.FileType;
public bool IsSortedBySize => SortMode == ApplicationSort.FileSize;
public bool IsSortedByPath => SortMode == ApplicationSort.Path;
- public bool IsGridSmall => ConfigurationState.Instance.Ui.GridSize == 1;
- public bool IsGridMedium => ConfigurationState.Instance.Ui.GridSize == 2;
- public bool IsGridLarge => ConfigurationState.Instance.Ui.GridSize == 3;
- public bool IsGridHuge => ConfigurationState.Instance.Ui.GridSize == 4;
+ public bool IsGridSmall => ConfigurationState.Instance.UI.GridSize == 1;
+ public bool IsGridMedium => ConfigurationState.Instance.UI.GridSize == 2;
+ public bool IsGridLarge => ConfigurationState.Instance.UI.GridSize == 3;
+ public bool IsGridHuge => ConfigurationState.Instance.UI.GridSize == 4;
#endregion
@@ -1245,7 +1245,7 @@ namespace Ryujinx.Ava.UI.ViewModels
public void LoadConfigurableHotKeys()
{
- if (AvaloniaKeyboardMappingHelper.TryGetAvaKey((Key)ConfigurationState.Instance.Hid.Hotkeys.Value.ShowUi, out var showUiKey))
+ if (AvaloniaKeyboardMappingHelper.TryGetAvaKey((Key)ConfigurationState.Instance.Hid.Hotkeys.Value.ShowUI, out var showUiKey))
{
ShowUiKey = new KeyGesture(showUiKey);
}
@@ -1385,7 +1385,7 @@ namespace Ryujinx.Ava.UI.ViewModels
if (Program.PreviewerDetached)
{
- ConfigurationState.Instance.Ui.LanguageCode.Value = (string)languageCode;
+ ConfigurationState.Instance.UI.LanguageCode.Value = (string)languageCode;
ConfigurationState.Instance.ToFileFormat().SaveConfig(Program.ConfigurationPath);
}
}
diff --git a/src/Ryujinx.Ava/UI/ViewModels/SettingsViewModel.cs b/src/Ryujinx.Ava/UI/ViewModels/SettingsViewModel.cs
index 9e462a900..bcaa08600 100644
--- a/src/Ryujinx.Ava/UI/ViewModels/SettingsViewModel.cs
+++ b/src/Ryujinx.Ava/UI/ViewModels/SettingsViewModel.cs
@@ -16,8 +16,8 @@ using Ryujinx.Common.Logging;
using Ryujinx.Graphics.Vulkan;
using Ryujinx.HLE.FileSystem;
using Ryujinx.HLE.HOS.Services.Time.TimeZone;
-using Ryujinx.Ui.Common.Configuration;
-using Ryujinx.Ui.Common.Configuration.System;
+using Ryujinx.UI.Common.Configuration;
+using Ryujinx.UI.Common.Configuration.System;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
@@ -408,9 +408,9 @@ namespace Ryujinx.Ava.UI.ViewModels
HideCursor = (int)config.HideCursor.Value;
GameDirectories.Clear();
- GameDirectories.AddRange(config.Ui.GameDirs.Value);
+ GameDirectories.AddRange(config.UI.GameDirs.Value);
- BaseStyleIndex = config.Ui.BaseStyle == "Light" ? 0 : 1;
+ BaseStyleIndex = config.UI.BaseStyle == "Light" ? 0 : 1;
// Input
EnableDockedMode = config.System.EnableDockedMode;
@@ -494,10 +494,10 @@ namespace Ryujinx.Ava.UI.ViewModels
if (_directoryChanged)
{
List gameDirs = new(GameDirectories);
- config.Ui.GameDirs.Value = gameDirs;
+ config.UI.GameDirs.Value = gameDirs;
}
- config.Ui.BaseStyle.Value = BaseStyleIndex == 0 ? "Light" : "Dark";
+ config.UI.BaseStyle.Value = BaseStyleIndex == 0 ? "Light" : "Dark";
// Input
config.System.EnableDockedMode.Value = EnableDockedMode;
diff --git a/src/Ryujinx.Ava/UI/ViewModels/TitleUpdateViewModel.cs b/src/Ryujinx.Ava/UI/ViewModels/TitleUpdateViewModel.cs
index 8a287ecac..5989ce09a 100644
--- a/src/Ryujinx.Ava/UI/ViewModels/TitleUpdateViewModel.cs
+++ b/src/Ryujinx.Ava/UI/ViewModels/TitleUpdateViewModel.cs
@@ -17,7 +17,7 @@ using Ryujinx.Common.Configuration;
using Ryujinx.Common.Logging;
using Ryujinx.Common.Utilities;
using Ryujinx.HLE.FileSystem;
-using Ryujinx.Ui.App.Common;
+using Ryujinx.UI.App.Common;
using System;
using System.Collections.Generic;
using System.IO;
diff --git a/src/Ryujinx.Ava/UI/Views/Main/MainMenuBarView.axaml.cs b/src/Ryujinx.Ava/UI/Views/Main/MainMenuBarView.axaml.cs
index 9c0e683a0..8dff50868 100644
--- a/src/Ryujinx.Ava/UI/Views/Main/MainMenuBarView.axaml.cs
+++ b/src/Ryujinx.Ava/UI/Views/Main/MainMenuBarView.axaml.cs
@@ -10,9 +10,9 @@ using Ryujinx.Ava.UI.Windows;
using Ryujinx.Common;
using Ryujinx.Common.Utilities;
using Ryujinx.Modules;
-using Ryujinx.Ui.Common;
-using Ryujinx.Ui.Common.Configuration;
-using Ryujinx.Ui.Common.Helper;
+using Ryujinx.UI.Common;
+using Ryujinx.UI.Common.Configuration;
+using Ryujinx.UI.Common.Helper;
using System;
using System.Collections.Generic;
using System.IO;
@@ -43,7 +43,7 @@ namespace Ryujinx.Ava.UI.Views.Main
checkBoxes.Add(new CheckBox
{
Content = $".{fileName}",
- IsChecked = ((FileTypes)item).GetConfigValue(ConfigurationState.Instance.Ui.ShownFileTypes),
+ IsChecked = ((FileTypes)item).GetConfigValue(ConfigurationState.Instance.UI.ShownFileTypes),
Command = MiniCommand.Create(() => Window.ToggleFileType(fileName)),
});
}
diff --git a/src/Ryujinx.Ava/UI/Views/Main/MainStatusBarView.axaml.cs b/src/Ryujinx.Ava/UI/Views/Main/MainStatusBarView.axaml.cs
index 822045d44..239a7cbfc 100644
--- a/src/Ryujinx.Ava/UI/Views/Main/MainStatusBarView.axaml.cs
+++ b/src/Ryujinx.Ava/UI/Views/Main/MainStatusBarView.axaml.cs
@@ -5,7 +5,7 @@ using Avalonia.Interactivity;
using Ryujinx.Ava.UI.Windows;
using Ryujinx.Common.Configuration;
using Ryujinx.Common.Logging;
-using Ryujinx.Ui.Common.Configuration;
+using Ryujinx.UI.Common.Configuration;
using System;
namespace Ryujinx.Ava.UI.Views.Main
diff --git a/src/Ryujinx.Ava/UI/Views/Settings/SettingsHotkeysView.axaml b/src/Ryujinx.Ava/UI/Views/Settings/SettingsHotkeysView.axaml
index a53c1dfe4..b4eae01ef 100644
--- a/src/Ryujinx.Ava/UI/Views/Settings/SettingsHotkeysView.axaml
+++ b/src/Ryujinx.Ava/UI/Views/Settings/SettingsHotkeysView.axaml
@@ -45,7 +45,7 @@
diff --git a/src/Ryujinx.Ava/UI/Windows/AboutWindow.axaml b/src/Ryujinx.Ava/UI/Windows/AboutWindow.axaml
index a06571408..69fa82517 100644
--- a/src/Ryujinx.Ava/UI/Windows/AboutWindow.axaml
+++ b/src/Ryujinx.Ava/UI/Windows/AboutWindow.axaml
@@ -51,7 +51,7 @@
Spacing="10">
ConfigurationState.Instance.Ui.ShownFileTypes.NSP.Value = !ConfigurationState.Instance.Ui.ShownFileTypes.NSP,
- "PFS0" => ConfigurationState.Instance.Ui.ShownFileTypes.PFS0.Value = !ConfigurationState.Instance.Ui.ShownFileTypes.PFS0,
- "XCI" => ConfigurationState.Instance.Ui.ShownFileTypes.XCI.Value = !ConfigurationState.Instance.Ui.ShownFileTypes.XCI,
- "NCA" => ConfigurationState.Instance.Ui.ShownFileTypes.NCA.Value = !ConfigurationState.Instance.Ui.ShownFileTypes.NCA,
- "NRO" => ConfigurationState.Instance.Ui.ShownFileTypes.NRO.Value = !ConfigurationState.Instance.Ui.ShownFileTypes.NRO,
- "NSO" => ConfigurationState.Instance.Ui.ShownFileTypes.NSO.Value = !ConfigurationState.Instance.Ui.ShownFileTypes.NSO,
+ "NSP" => ConfigurationState.Instance.UI.ShownFileTypes.NSP.Value = !ConfigurationState.Instance.UI.ShownFileTypes.NSP,
+ "PFS0" => ConfigurationState.Instance.UI.ShownFileTypes.PFS0.Value = !ConfigurationState.Instance.UI.ShownFileTypes.PFS0,
+ "XCI" => ConfigurationState.Instance.UI.ShownFileTypes.XCI.Value = !ConfigurationState.Instance.UI.ShownFileTypes.XCI,
+ "NCA" => ConfigurationState.Instance.UI.ShownFileTypes.NCA.Value = !ConfigurationState.Instance.UI.ShownFileTypes.NCA,
+ "NRO" => ConfigurationState.Instance.UI.ShownFileTypes.NRO.Value = !ConfigurationState.Instance.UI.ShownFileTypes.NRO,
+ "NSO" => ConfigurationState.Instance.UI.ShownFileTypes.NSO.Value = !ConfigurationState.Instance.UI.ShownFileTypes.NSO,
_ => throw new ArgumentOutOfRangeException(fileType),
#pragma warning restore IDE0055
};
@@ -537,7 +537,7 @@ namespace Ryujinx.Ava.UI.Windows
Thread applicationLibraryThread = new(() =>
{
- ApplicationLibrary.LoadApplications(ConfigurationState.Instance.Ui.GameDirs, ConfigurationState.Instance.System.Language);
+ ApplicationLibrary.LoadApplications(ConfigurationState.Instance.UI.GameDirs, ConfigurationState.Instance.System.Language);
_isLoading = false;
})
diff --git a/src/Ryujinx.Ava/UI/Windows/ModManagerWindow.axaml.cs b/src/Ryujinx.Ava/UI/Windows/ModManagerWindow.axaml.cs
index 5de09ba0b..d9ae0d4f3 100644
--- a/src/Ryujinx.Ava/UI/Windows/ModManagerWindow.axaml.cs
+++ b/src/Ryujinx.Ava/UI/Windows/ModManagerWindow.axaml.cs
@@ -6,7 +6,7 @@ using Ryujinx.Ava.Common.Locale;
using Ryujinx.Ava.UI.Helpers;
using Ryujinx.Ava.UI.Models;
using Ryujinx.Ava.UI.ViewModels;
-using Ryujinx.Ui.Common.Helper;
+using Ryujinx.UI.Common.Helper;
using System.Threading.Tasks;
using Button = Avalonia.Controls.Button;
diff --git a/src/Ryujinx.Ava/UI/Windows/StyleableWindow.cs b/src/Ryujinx.Ava/UI/Windows/StyleableWindow.cs
index 3cd12bc8c..a12d2b3e8 100644
--- a/src/Ryujinx.Ava/UI/Windows/StyleableWindow.cs
+++ b/src/Ryujinx.Ava/UI/Windows/StyleableWindow.cs
@@ -4,7 +4,7 @@ using Avalonia.Media;
using Avalonia.Media.Imaging;
using Avalonia.Platform;
using Ryujinx.Ava.Common.Locale;
-using Ryujinx.Ui.Common.Configuration;
+using Ryujinx.UI.Common.Configuration;
using System.IO;
using System.Reflection;
@@ -19,7 +19,7 @@ namespace Ryujinx.Ava.UI.Windows
WindowStartupLocation = WindowStartupLocation.CenterOwner;
TransparencyLevelHint = new[] { WindowTransparencyLevel.None };
- using Stream stream = Assembly.GetAssembly(typeof(ConfigurationState)).GetManifestResourceStream("Ryujinx.Ui.Common.Resources.Logo_Ryujinx.png");
+ using Stream stream = Assembly.GetAssembly(typeof(ConfigurationState)).GetManifestResourceStream("Ryujinx.UI.Common.Resources.Logo_Ryujinx.png");
Icon = new WindowIcon(stream);
stream.Position = 0;
diff --git a/src/Ryujinx.Ava/UI/Windows/TitleUpdateWindow.axaml.cs b/src/Ryujinx.Ava/UI/Windows/TitleUpdateWindow.axaml.cs
index 7ece63355..f3ac69600 100644
--- a/src/Ryujinx.Ava/UI/Windows/TitleUpdateWindow.axaml.cs
+++ b/src/Ryujinx.Ava/UI/Windows/TitleUpdateWindow.axaml.cs
@@ -7,7 +7,7 @@ using Ryujinx.Ava.UI.Helpers;
using Ryujinx.Ava.UI.Models;
using Ryujinx.Ava.UI.ViewModels;
using Ryujinx.HLE.FileSystem;
-using Ryujinx.Ui.Common.Helper;
+using Ryujinx.UI.Common.Helper;
using System.Threading.Tasks;
using Button = Avalonia.Controls.Button;
diff --git a/src/Ryujinx.Common/Configuration/Hid/KeyboardHotkeys.cs b/src/Ryujinx.Common/Configuration/Hid/KeyboardHotkeys.cs
index b4f2f9468..e9c163cf2 100644
--- a/src/Ryujinx.Common/Configuration/Hid/KeyboardHotkeys.cs
+++ b/src/Ryujinx.Common/Configuration/Hid/KeyboardHotkeys.cs
@@ -6,7 +6,7 @@ namespace Ryujinx.Common.Configuration.Hid
{
public Key ToggleVsync { get; set; }
public Key Screenshot { get; set; }
- public Key ShowUi { get; set; }
+ public Key ShowUI { get; set; }
public Key Pause { get; set; }
public Key ToggleMute { get; set; }
public Key ResScaleUp { get; set; }
diff --git a/src/Ryujinx.Common/Logging/LogClass.cs b/src/Ryujinx.Common/Logging/LogClass.cs
index f277dd06d..1b404a06a 100644
--- a/src/Ryujinx.Common/Logging/LogClass.cs
+++ b/src/Ryujinx.Common/Logging/LogClass.cs
@@ -70,7 +70,7 @@ namespace Ryujinx.Common.Logging
ServiceVi,
SurfaceFlinger,
TamperMachine,
- Ui,
+ UI,
Vic,
}
}
diff --git a/src/Ryujinx.HLE/HLEConfiguration.cs b/src/Ryujinx.HLE/HLEConfiguration.cs
index f589bfdda..955fee4b5 100644
--- a/src/Ryujinx.HLE/HLEConfiguration.cs
+++ b/src/Ryujinx.HLE/HLEConfiguration.cs
@@ -7,7 +7,7 @@ using Ryujinx.HLE.FileSystem;
using Ryujinx.HLE.HOS;
using Ryujinx.HLE.HOS.Services.Account.Acc;
using Ryujinx.HLE.HOS.SystemState;
-using Ryujinx.HLE.Ui;
+using Ryujinx.HLE.UI;
using System;
namespace Ryujinx.HLE
@@ -63,7 +63,7 @@ namespace Ryujinx.HLE
/// The handler for various UI related operations needed outside of HLE.
///
/// This cannot be changed after instantiation.
- internal readonly IHostUiHandler HostUiHandler;
+ internal readonly IHostUIHandler HostUIHandler;
///
/// Control the memory configuration used by the emulation context.
@@ -177,7 +177,7 @@ namespace Ryujinx.HLE
IRenderer gpuRenderer,
IHardwareDeviceDriver audioDeviceDriver,
MemoryConfiguration memoryConfiguration,
- IHostUiHandler hostUiHandler,
+ IHostUIHandler hostUIHandler,
SystemLanguage systemLanguage,
RegionCode region,
bool enableVsync,
@@ -204,7 +204,7 @@ namespace Ryujinx.HLE
GpuRenderer = gpuRenderer;
AudioDeviceDriver = audioDeviceDriver;
MemoryConfiguration = memoryConfiguration;
- HostUiHandler = hostUiHandler;
+ HostUIHandler = hostUIHandler;
SystemLanguage = systemLanguage;
Region = region;
EnableVsync = enableVsync;
diff --git a/src/Ryujinx.HLE/HOS/Applets/Controller/ControllerApplet.cs b/src/Ryujinx.HLE/HOS/Applets/Controller/ControllerApplet.cs
index 867202178..5ec9d4b08 100644
--- a/src/Ryujinx.HLE/HOS/Applets/Controller/ControllerApplet.cs
+++ b/src/Ryujinx.HLE/HOS/Applets/Controller/ControllerApplet.cs
@@ -86,7 +86,7 @@ namespace Ryujinx.HLE.HOS.Applets
PlayerIndex primaryIndex;
while (!_system.Device.Hid.Npads.Validate(playerMin, playerMax, (ControllerType)privateArg.NpadStyleSet, out configuredCount, out primaryIndex))
{
- ControllerAppletUiArgs uiArgs = new()
+ ControllerAppletUIArgs uiArgs = new()
{
PlayerCountMin = playerMin,
PlayerCountMax = playerMax,
@@ -95,7 +95,7 @@ namespace Ryujinx.HLE.HOS.Applets
IsDocked = _system.State.DockedMode,
};
- if (!_system.Device.UiHandler.DisplayMessageDialog(uiArgs))
+ if (!_system.Device.UIHandler.DisplayMessageDialog(uiArgs))
{
break;
}
diff --git a/src/Ryujinx.HLE/HOS/Applets/Controller/ControllerAppletUiArgs.cs b/src/Ryujinx.HLE/HOS/Applets/Controller/ControllerAppletUIArgs.cs
similarity index 88%
rename from src/Ryujinx.HLE/HOS/Applets/Controller/ControllerAppletUiArgs.cs
rename to src/Ryujinx.HLE/HOS/Applets/Controller/ControllerAppletUIArgs.cs
index bf440515b..10cba58ba 100644
--- a/src/Ryujinx.HLE/HOS/Applets/Controller/ControllerAppletUiArgs.cs
+++ b/src/Ryujinx.HLE/HOS/Applets/Controller/ControllerAppletUIArgs.cs
@@ -3,7 +3,7 @@ using System.Collections.Generic;
namespace Ryujinx.HLE.HOS.Applets
{
- public struct ControllerAppletUiArgs
+ public struct ControllerAppletUIArgs
{
public int PlayerCountMin;
public int PlayerCountMax;
diff --git a/src/Ryujinx.HLE/HOS/Applets/Error/ErrorApplet.cs b/src/Ryujinx.HLE/HOS/Applets/Error/ErrorApplet.cs
index 5c474f229..7ee9b9e90 100644
--- a/src/Ryujinx.HLE/HOS/Applets/Error/ErrorApplet.cs
+++ b/src/Ryujinx.HLE/HOS/Applets/Error/ErrorApplet.cs
@@ -166,13 +166,13 @@ namespace Ryujinx.HLE.HOS.Applets.Error
string[] buttons = GetButtonsText(module, description, "DlgBtn");
- bool showDetails = _horizon.Device.UiHandler.DisplayErrorAppletDialog($"Error Code: {module}-{description:0000}", "\n" + message, buttons);
+ bool showDetails = _horizon.Device.UIHandler.DisplayErrorAppletDialog($"Error Code: {module}-{description:0000}", "\n" + message, buttons);
if (showDetails)
{
message = GetMessageText(module, description, "FlvMsg");
buttons = GetButtonsText(module, description, "FlvBtn");
- _horizon.Device.UiHandler.DisplayErrorAppletDialog($"Details: {module}-{description:0000}", "\n" + message, buttons);
+ _horizon.Device.UIHandler.DisplayErrorAppletDialog($"Details: {module}-{description:0000}", "\n" + message, buttons);
}
}
@@ -200,12 +200,12 @@ namespace Ryujinx.HLE.HOS.Applets.Error
buttons.Add("OK");
- bool showDetails = _horizon.Device.UiHandler.DisplayErrorAppletDialog($"Error Number: {applicationErrorArg.ErrorNumber}", "\n" + messageText, buttons.ToArray());
+ bool showDetails = _horizon.Device.UIHandler.DisplayErrorAppletDialog($"Error Number: {applicationErrorArg.ErrorNumber}", "\n" + messageText, buttons.ToArray());
if (showDetails)
{
buttons.RemoveAt(0);
- _horizon.Device.UiHandler.DisplayErrorAppletDialog($"Error Number: {applicationErrorArg.ErrorNumber} (Details)", "\n" + detailsText, buttons.ToArray());
+ _horizon.Device.UIHandler.DisplayErrorAppletDialog($"Error Number: {applicationErrorArg.ErrorNumber} (Details)", "\n" + detailsText, buttons.ToArray());
}
}
diff --git a/src/Ryujinx.HLE/HOS/Applets/IApplet.cs b/src/Ryujinx.HLE/HOS/Applets/IApplet.cs
index 5ccf3994f..985887c47 100644
--- a/src/Ryujinx.HLE/HOS/Applets/IApplet.cs
+++ b/src/Ryujinx.HLE/HOS/Applets/IApplet.cs
@@ -1,5 +1,5 @@
using Ryujinx.HLE.HOS.Services.Am.AppletAE;
-using Ryujinx.HLE.Ui;
+using Ryujinx.HLE.UI;
using Ryujinx.Memory;
using System;
using System.Runtime.InteropServices;
diff --git a/src/Ryujinx.HLE/HOS/Applets/SoftwareKeyboard/SoftwareKeyboardApplet.cs b/src/Ryujinx.HLE/HOS/Applets/SoftwareKeyboard/SoftwareKeyboardApplet.cs
index 432bf6a8a..0462a5b00 100644
--- a/src/Ryujinx.HLE/HOS/Applets/SoftwareKeyboard/SoftwareKeyboardApplet.cs
+++ b/src/Ryujinx.HLE/HOS/Applets/SoftwareKeyboard/SoftwareKeyboardApplet.cs
@@ -4,8 +4,8 @@ using Ryujinx.Common.Logging;
using Ryujinx.HLE.HOS.Applets.SoftwareKeyboard;
using Ryujinx.HLE.HOS.Services.Am.AppletAE;
using Ryujinx.HLE.HOS.Services.Hid.Types.SharedMemory.Npad;
-using Ryujinx.HLE.Ui;
-using Ryujinx.HLE.Ui.Input;
+using Ryujinx.HLE.UI;
+using Ryujinx.HLE.UI.Input;
using Ryujinx.Memory;
using System;
using System.Diagnostics;
@@ -92,14 +92,14 @@ namespace Ryujinx.HLE.HOS.Applets
_keyboardBackgroundInitialize = MemoryMarshal.Read(keyboardConfig);
_backgroundState = InlineKeyboardState.Uninitialized;
- if (_device.UiHandler == null)
+ if (_device.UIHandler == null)
{
Logger.Error?.Print(LogClass.ServiceAm, "GUI Handler is not set, software keyboard applet will not work properly");
}
else
{
// Create a text handler that converts keyboard strokes to strings.
- _dynamicTextInputHandler = _device.UiHandler.CreateDynamicTextInputHandler();
+ _dynamicTextInputHandler = _device.UIHandler.CreateDynamicTextInputHandler();
_dynamicTextInputHandler.TextChangedEvent += HandleTextChangedEvent;
_dynamicTextInputHandler.KeyPressedEvent += HandleKeyPressedEvent;
@@ -107,7 +107,7 @@ namespace Ryujinx.HLE.HOS.Applets
_npads.NpadButtonDownEvent += HandleNpadButtonDownEvent;
_npads.NpadButtonUpEvent += HandleNpadButtonUpEvent;
- _keyboardRenderer = new SoftwareKeyboardRenderer(_device.UiHandler.HostUiTheme);
+ _keyboardRenderer = new SoftwareKeyboardRenderer(_device.UIHandler.HostUITheme);
}
return ResultCode.Success;
@@ -199,7 +199,7 @@ namespace Ryujinx.HLE.HOS.Applets
_keyboardForegroundConfig.StringLengthMax = 100;
}
- if (_device.UiHandler == null)
+ if (_device.UIHandler == null)
{
Logger.Warning?.Print(LogClass.Application, "GUI Handler is not set. Falling back to default");
@@ -209,7 +209,7 @@ namespace Ryujinx.HLE.HOS.Applets
else
{
// Call the configured GUI handler to get user's input.
- var args = new SoftwareKeyboardUiArgs
+ var args = new SoftwareKeyboardUIArgs
{
KeyboardMode = _keyboardForegroundConfig.Mode,
HeaderText = StripUnicodeControlCodes(_keyboardForegroundConfig.HeaderText),
@@ -222,7 +222,7 @@ namespace Ryujinx.HLE.HOS.Applets
InitialText = initialText,
};
- _lastResult = _device.UiHandler.DisplayInputDialog(args, out _textValue) ? KeyboardResult.Accept : KeyboardResult.Cancel;
+ _lastResult = _device.UIHandler.DisplayInputDialog(args, out _textValue) ? KeyboardResult.Accept : KeyboardResult.Cancel;
_textValue ??= initialText ?? DefaultInputText;
}
diff --git a/src/Ryujinx.HLE/HOS/Applets/SoftwareKeyboard/SoftwareKeyboardRenderer.cs b/src/Ryujinx.HLE/HOS/Applets/SoftwareKeyboard/SoftwareKeyboardRenderer.cs
index f76cce295..3f7516e6a 100644
--- a/src/Ryujinx.HLE/HOS/Applets/SoftwareKeyboard/SoftwareKeyboardRenderer.cs
+++ b/src/Ryujinx.HLE/HOS/Applets/SoftwareKeyboard/SoftwareKeyboardRenderer.cs
@@ -1,4 +1,4 @@
-using Ryujinx.HLE.Ui;
+using Ryujinx.HLE.UI;
using Ryujinx.Memory;
using System;
using System.Threading;
@@ -15,13 +15,13 @@ namespace Ryujinx.HLE.HOS.Applets.SoftwareKeyboard
private readonly object _stateLock = new();
- private readonly SoftwareKeyboardUiState _state = new();
+ private readonly SoftwareKeyboardUIState _state = new();
private readonly SoftwareKeyboardRendererBase _renderer;
private readonly TimedAction _textBoxBlinkTimedAction = new();
private readonly TimedAction _renderAction = new();
- public SoftwareKeyboardRenderer(IHostUiTheme uiTheme)
+ public SoftwareKeyboardRenderer(IHostUITheme uiTheme)
{
_renderer = new SoftwareKeyboardRendererBase(uiTheme);
@@ -29,7 +29,7 @@ namespace Ryujinx.HLE.HOS.Applets.SoftwareKeyboard
StartRenderer(_renderAction, _renderer, _state, _stateLock);
}
- private static void StartTextBoxBlinker(TimedAction timedAction, SoftwareKeyboardUiState state, object stateLock)
+ private static void StartTextBoxBlinker(TimedAction timedAction, SoftwareKeyboardUIState state, object stateLock)
{
timedAction.Reset(() =>
{
@@ -45,9 +45,9 @@ namespace Ryujinx.HLE.HOS.Applets.SoftwareKeyboard
}, TextBoxBlinkSleepMilliseconds);
}
- private static void StartRenderer(TimedAction timedAction, SoftwareKeyboardRendererBase renderer, SoftwareKeyboardUiState state, object stateLock)
+ private static void StartRenderer(TimedAction timedAction, SoftwareKeyboardRendererBase renderer, SoftwareKeyboardUIState state, object stateLock)
{
- SoftwareKeyboardUiState internalState = new();
+ SoftwareKeyboardUIState internalState = new();
bool canCreateSurface = false;
bool needsUpdate = true;
diff --git a/src/Ryujinx.HLE/HOS/Applets/SoftwareKeyboard/SoftwareKeyboardRendererBase.cs b/src/Ryujinx.HLE/HOS/Applets/SoftwareKeyboard/SoftwareKeyboardRendererBase.cs
index 3971a33be..75c648ff1 100644
--- a/src/Ryujinx.HLE/HOS/Applets/SoftwareKeyboard/SoftwareKeyboardRendererBase.cs
+++ b/src/Ryujinx.HLE/HOS/Applets/SoftwareKeyboard/SoftwareKeyboardRendererBase.cs
@@ -1,4 +1,4 @@
-using Ryujinx.HLE.Ui;
+using Ryujinx.HLE.UI;
using Ryujinx.Memory;
using SixLabors.Fonts;
using SixLabors.ImageSharp;
@@ -63,7 +63,7 @@ namespace Ryujinx.HLE.HOS.Applets.SoftwareKeyboard
private Point _logoPosition;
private float _messagePositionY;
- public SoftwareKeyboardRendererBase(IHostUiTheme uiTheme)
+ public SoftwareKeyboardRendererBase(IHostUITheme uiTheme)
{
int ryujinxLogoSize = 32;
@@ -205,7 +205,7 @@ namespace Ryujinx.HLE.HOS.Applets.SoftwareKeyboard
});
}
- public void DrawMutableElements(SoftwareKeyboardUiState state)
+ public void DrawMutableElements(SoftwareKeyboardUIState state)
{
if (_surface == null)
{
@@ -322,7 +322,7 @@ namespace Ryujinx.HLE.HOS.Applets.SoftwareKeyboard
return new RectangleF(rectangle.X, rectangle.Y, rectangle.Width, rectangle.Height);
}
- private void DrawTextBox(IImageProcessingContext context, SoftwareKeyboardUiState state)
+ private void DrawTextBox(IImageProcessingContext context, SoftwareKeyboardUIState state)
{
var inputTextRectangle = MeasureString(state.InputText, _inputTextFont);
diff --git a/src/Ryujinx.HLE/HOS/Applets/SoftwareKeyboard/SoftwareKeyboardUiArgs.cs b/src/Ryujinx.HLE/HOS/Applets/SoftwareKeyboard/SoftwareKeyboardUIArgs.cs
similarity index 90%
rename from src/Ryujinx.HLE/HOS/Applets/SoftwareKeyboard/SoftwareKeyboardUiArgs.cs
rename to src/Ryujinx.HLE/HOS/Applets/SoftwareKeyboard/SoftwareKeyboardUIArgs.cs
index 52fa7ed85..854f04a3b 100644
--- a/src/Ryujinx.HLE/HOS/Applets/SoftwareKeyboard/SoftwareKeyboardUiArgs.cs
+++ b/src/Ryujinx.HLE/HOS/Applets/SoftwareKeyboard/SoftwareKeyboardUIArgs.cs
@@ -2,7 +2,7 @@ using Ryujinx.HLE.HOS.Applets.SoftwareKeyboard;
namespace Ryujinx.HLE.HOS.Applets
{
- public struct SoftwareKeyboardUiArgs
+ public struct SoftwareKeyboardUIArgs
{
public KeyboardMode KeyboardMode;
public string HeaderText;
diff --git a/src/Ryujinx.HLE/HOS/Applets/SoftwareKeyboard/SoftwareKeyboardUiState.cs b/src/Ryujinx.HLE/HOS/Applets/SoftwareKeyboard/SoftwareKeyboardUIState.cs
similarity index 89%
rename from src/Ryujinx.HLE/HOS/Applets/SoftwareKeyboard/SoftwareKeyboardUiState.cs
rename to src/Ryujinx.HLE/HOS/Applets/SoftwareKeyboard/SoftwareKeyboardUIState.cs
index 608d51f32..6199ff666 100644
--- a/src/Ryujinx.HLE/HOS/Applets/SoftwareKeyboard/SoftwareKeyboardUiState.cs
+++ b/src/Ryujinx.HLE/HOS/Applets/SoftwareKeyboard/SoftwareKeyboardUIState.cs
@@ -1,11 +1,11 @@
-using Ryujinx.HLE.Ui;
+using Ryujinx.HLE.UI;
namespace Ryujinx.HLE.HOS.Applets.SoftwareKeyboard
{
///
/// TODO
///
- internal class SoftwareKeyboardUiState
+ internal class SoftwareKeyboardUIState
{
public string InputText = "";
public int CursorBegin = 0;
diff --git a/src/Ryujinx.HLE/HOS/Services/Am/AppletOE/ApplicationProxyService/ApplicationProxy/IApplicationFunctions.cs b/src/Ryujinx.HLE/HOS/Services/Am/AppletOE/ApplicationProxyService/ApplicationProxy/IApplicationFunctions.cs
index 271d00605..9a7fdcc16 100644
--- a/src/Ryujinx.HLE/HOS/Services/Am/AppletOE/ApplicationProxyService/ApplicationProxy/IApplicationFunctions.cs
+++ b/src/Ryujinx.HLE/HOS/Services/Am/AppletOE/ApplicationProxyService/ApplicationProxy/IApplicationFunctions.cs
@@ -97,7 +97,7 @@ namespace Ryujinx.HLE.HOS.Services.Am.AppletOE.ApplicationProxyService.Applicati
if (titleId == 0)
{
- context.Device.UiHandler.ExecuteProgram(context.Device, ProgramSpecifyKind.RestartProgram, titleId);
+ context.Device.UIHandler.ExecuteProgram(context.Device, ProgramSpecifyKind.RestartProgram, titleId);
}
else
{
@@ -524,7 +524,7 @@ namespace Ryujinx.HLE.HOS.Services.Am.AppletOE.ApplicationProxyService.Applicati
Logger.Stub?.PrintStub(LogClass.ServiceAm, new { kind, value });
- context.Device.UiHandler.ExecuteProgram(context.Device, kind, value);
+ context.Device.UIHandler.ExecuteProgram(context.Device, kind, value);
return ResultCode.Success;
}
diff --git a/src/Ryujinx.HLE/HOS/Services/Vi/RootService/IApplicationDisplayService.cs b/src/Ryujinx.HLE/HOS/Services/Vi/RootService/IApplicationDisplayService.cs
index 143e21661..b6988f08d 100644
--- a/src/Ryujinx.HLE/HOS/Services/Vi/RootService/IApplicationDisplayService.cs
+++ b/src/Ryujinx.HLE/HOS/Services/Vi/RootService/IApplicationDisplayService.cs
@@ -7,7 +7,7 @@ using Ryujinx.HLE.HOS.Services.SurfaceFlinger;
using Ryujinx.HLE.HOS.Services.Vi.RootService.ApplicationDisplayService;
using Ryujinx.HLE.HOS.Services.Vi.RootService.ApplicationDisplayService.Types;
using Ryujinx.HLE.HOS.Services.Vi.Types;
-using Ryujinx.HLE.Ui;
+using Ryujinx.HLE.UI;
using Ryujinx.Horizon.Common;
using System;
using System.Collections.Generic;
diff --git a/src/Ryujinx.HLE/Switch.cs b/src/Ryujinx.HLE/Switch.cs
index ae063a47d..498714dcd 100644
--- a/src/Ryujinx.HLE/Switch.cs
+++ b/src/Ryujinx.HLE/Switch.cs
@@ -7,7 +7,7 @@ using Ryujinx.HLE.HOS;
using Ryujinx.HLE.HOS.Services.Apm;
using Ryujinx.HLE.HOS.Services.Hid;
using Ryujinx.HLE.Loaders.Processes;
-using Ryujinx.HLE.Ui;
+using Ryujinx.HLE.UI;
using Ryujinx.Memory;
using System;
@@ -25,7 +25,7 @@ namespace Ryujinx.HLE
public PerformanceStatistics Statistics { get; }
public Hid Hid { get; }
public TamperMachine TamperMachine { get; }
- public IHostUiHandler UiHandler { get; }
+ public IHostUIHandler UIHandler { get; }
public bool EnableDeviceVsync { get; set; } = true;
@@ -39,7 +39,7 @@ namespace Ryujinx.HLE
Configuration = configuration;
FileSystem = Configuration.VirtualFileSystem;
- UiHandler = Configuration.HostUiHandler;
+ UIHandler = Configuration.HostUIHandler;
MemoryAllocationFlags memoryAllocationFlags = configuration.MemoryManagerMode == MemoryManagerMode.SoftwarePageTable
? MemoryAllocationFlags.Reserve
diff --git a/src/Ryujinx.HLE/Ui/DynamicTextChangedHandler.cs b/src/Ryujinx.HLE/UI/DynamicTextChangedHandler.cs
similarity index 82%
rename from src/Ryujinx.HLE/Ui/DynamicTextChangedHandler.cs
rename to src/Ryujinx.HLE/UI/DynamicTextChangedHandler.cs
index cb9ca0dec..c0945259b 100644
--- a/src/Ryujinx.HLE/Ui/DynamicTextChangedHandler.cs
+++ b/src/Ryujinx.HLE/UI/DynamicTextChangedHandler.cs
@@ -1,4 +1,4 @@
-namespace Ryujinx.HLE.Ui
+namespace Ryujinx.HLE.UI
{
public delegate void DynamicTextChangedHandler(string text, int cursorBegin, int cursorEnd, bool overwriteMode);
}
diff --git a/src/Ryujinx.HLE/Ui/IDynamicTextInputHandler.cs b/src/Ryujinx.HLE/UI/IDynamicTextInputHandler.cs
similarity index 94%
rename from src/Ryujinx.HLE/Ui/IDynamicTextInputHandler.cs
rename to src/Ryujinx.HLE/UI/IDynamicTextInputHandler.cs
index e530d2c4e..1ff451d10 100644
--- a/src/Ryujinx.HLE/Ui/IDynamicTextInputHandler.cs
+++ b/src/Ryujinx.HLE/UI/IDynamicTextInputHandler.cs
@@ -1,6 +1,6 @@
using System;
-namespace Ryujinx.HLE.Ui
+namespace Ryujinx.HLE.UI
{
public interface IDynamicTextInputHandler : IDisposable
{
diff --git a/src/Ryujinx.HLE/Ui/IHostUiHandler.cs b/src/Ryujinx.HLE/UI/IHostUIHandler.cs
similarity index 89%
rename from src/Ryujinx.HLE/Ui/IHostUiHandler.cs
rename to src/Ryujinx.HLE/UI/IHostUIHandler.cs
index 68f78f22d..3b3a430ee 100644
--- a/src/Ryujinx.HLE/Ui/IHostUiHandler.cs
+++ b/src/Ryujinx.HLE/UI/IHostUIHandler.cs
@@ -1,16 +1,16 @@
using Ryujinx.HLE.HOS.Applets;
using Ryujinx.HLE.HOS.Services.Am.AppletOE.ApplicationProxyService.ApplicationProxy.Types;
-namespace Ryujinx.HLE.Ui
+namespace Ryujinx.HLE.UI
{
- public interface IHostUiHandler
+ public interface IHostUIHandler
{
///
/// Displays an Input Dialog box to the user and blocks until text is entered.
///
/// Text that the user entered. Set to `null` on internal errors
/// True when OK is pressed, False otherwise. Also returns True on internal errors
- bool DisplayInputDialog(SoftwareKeyboardUiArgs args, out string userText);
+ bool DisplayInputDialog(SoftwareKeyboardUIArgs args, out string userText);
///
/// Displays a Message Dialog box to the user and blocks until it is closed.
@@ -22,7 +22,7 @@ namespace Ryujinx.HLE.Ui
/// Displays a Message Dialog box specific to Controller Applet and blocks until it is closed.
///
/// True when OK is pressed, False otherwise.
- bool DisplayMessageDialog(ControllerAppletUiArgs args);
+ bool DisplayMessageDialog(ControllerAppletUIArgs args);
///
/// Tell the UI that we need to transisition to another program.
@@ -46,6 +46,6 @@ namespace Ryujinx.HLE.Ui
///
/// Gets fonts and colors used by the host.
///
- IHostUiTheme HostUiTheme { get; }
+ IHostUITheme HostUITheme { get; }
}
}
diff --git a/src/Ryujinx.HLE/Ui/IHostUiTheme.cs b/src/Ryujinx.HLE/UI/IHostUITheme.cs
similarity index 83%
rename from src/Ryujinx.HLE/Ui/IHostUiTheme.cs
rename to src/Ryujinx.HLE/UI/IHostUITheme.cs
index 11d82361a..3b0544004 100644
--- a/src/Ryujinx.HLE/Ui/IHostUiTheme.cs
+++ b/src/Ryujinx.HLE/UI/IHostUITheme.cs
@@ -1,6 +1,6 @@
-namespace Ryujinx.HLE.Ui
+namespace Ryujinx.HLE.UI
{
- public interface IHostUiTheme
+ public interface IHostUITheme
{
string FontFamily { get; }
diff --git a/src/Ryujinx.HLE/Ui/Input/NpadButtonHandler.cs b/src/Ryujinx.HLE/UI/Input/NpadButtonHandler.cs
similarity index 81%
rename from src/Ryujinx.HLE/Ui/Input/NpadButtonHandler.cs
rename to src/Ryujinx.HLE/UI/Input/NpadButtonHandler.cs
index 2d1c1c491..73c306614 100644
--- a/src/Ryujinx.HLE/Ui/Input/NpadButtonHandler.cs
+++ b/src/Ryujinx.HLE/UI/Input/NpadButtonHandler.cs
@@ -1,6 +1,6 @@
using Ryujinx.HLE.HOS.Services.Hid.Types.SharedMemory.Npad;
-namespace Ryujinx.HLE.Ui.Input
+namespace Ryujinx.HLE.UI.Input
{
delegate void NpadButtonHandler(int npadIndex, NpadButton button);
}
diff --git a/src/Ryujinx.HLE/Ui/Input/NpadReader.cs b/src/Ryujinx.HLE/UI/Input/NpadReader.cs
similarity index 99%
rename from src/Ryujinx.HLE/Ui/Input/NpadReader.cs
rename to src/Ryujinx.HLE/UI/Input/NpadReader.cs
index 8fc95dc94..8276d6160 100644
--- a/src/Ryujinx.HLE/Ui/Input/NpadReader.cs
+++ b/src/Ryujinx.HLE/UI/Input/NpadReader.cs
@@ -1,7 +1,7 @@
using Ryujinx.HLE.HOS.Services.Hid.Types.SharedMemory.Common;
using Ryujinx.HLE.HOS.Services.Hid.Types.SharedMemory.Npad;
-namespace Ryujinx.HLE.Ui.Input
+namespace Ryujinx.HLE.UI.Input
{
///
/// Class that converts Hid entries for the Npad into pressed / released events.
diff --git a/src/Ryujinx.HLE/Ui/KeyPressedHandler.cs b/src/Ryujinx.HLE/UI/KeyPressedHandler.cs
similarity index 79%
rename from src/Ryujinx.HLE/Ui/KeyPressedHandler.cs
rename to src/Ryujinx.HLE/UI/KeyPressedHandler.cs
index 31e754377..6feb11bd8 100644
--- a/src/Ryujinx.HLE/Ui/KeyPressedHandler.cs
+++ b/src/Ryujinx.HLE/UI/KeyPressedHandler.cs
@@ -1,6 +1,6 @@
using Ryujinx.Common.Configuration.Hid;
-namespace Ryujinx.HLE.Ui
+namespace Ryujinx.HLE.UI
{
public delegate bool KeyPressedHandler(Key key);
}
diff --git a/src/Ryujinx.HLE/Ui/KeyReleasedHandler.cs b/src/Ryujinx.HLE/UI/KeyReleasedHandler.cs
similarity index 79%
rename from src/Ryujinx.HLE/Ui/KeyReleasedHandler.cs
rename to src/Ryujinx.HLE/UI/KeyReleasedHandler.cs
index d5b6d2019..3de89d0c7 100644
--- a/src/Ryujinx.HLE/Ui/KeyReleasedHandler.cs
+++ b/src/Ryujinx.HLE/UI/KeyReleasedHandler.cs
@@ -1,6 +1,6 @@
using Ryujinx.Common.Configuration.Hid;
-namespace Ryujinx.HLE.Ui
+namespace Ryujinx.HLE.UI
{
public delegate bool KeyReleasedHandler(Key key);
}
diff --git a/src/Ryujinx.HLE/Ui/RenderingSurfaceInfo.cs b/src/Ryujinx.HLE/UI/RenderingSurfaceInfo.cs
similarity index 98%
rename from src/Ryujinx.HLE/Ui/RenderingSurfaceInfo.cs
rename to src/Ryujinx.HLE/UI/RenderingSurfaceInfo.cs
index 0b3d0a909..af0a0d44e 100644
--- a/src/Ryujinx.HLE/Ui/RenderingSurfaceInfo.cs
+++ b/src/Ryujinx.HLE/UI/RenderingSurfaceInfo.cs
@@ -1,7 +1,7 @@
using Ryujinx.HLE.HOS.Services.SurfaceFlinger;
using System;
-namespace Ryujinx.HLE.Ui
+namespace Ryujinx.HLE.UI
{
///
/// Information about the indirect layer that is being drawn to.
diff --git a/src/Ryujinx.HLE/Ui/ThemeColor.cs b/src/Ryujinx.HLE/UI/ThemeColor.cs
similarity index 93%
rename from src/Ryujinx.HLE/Ui/ThemeColor.cs
rename to src/Ryujinx.HLE/UI/ThemeColor.cs
index 23657ed2b..c5cfb1474 100644
--- a/src/Ryujinx.HLE/Ui/ThemeColor.cs
+++ b/src/Ryujinx.HLE/UI/ThemeColor.cs
@@ -1,4 +1,4 @@
-namespace Ryujinx.HLE.Ui
+namespace Ryujinx.HLE.UI
{
public readonly struct ThemeColor
{
diff --git a/src/Ryujinx.Headless.SDL2/HeadlessDynamicTextInputHandler.cs b/src/Ryujinx.Headless.SDL2/HeadlessDynamicTextInputHandler.cs
index aae01a0ce..503874ff1 100644
--- a/src/Ryujinx.Headless.SDL2/HeadlessDynamicTextInputHandler.cs
+++ b/src/Ryujinx.Headless.SDL2/HeadlessDynamicTextInputHandler.cs
@@ -1,4 +1,4 @@
-using Ryujinx.HLE.Ui;
+using Ryujinx.HLE.UI;
using System.Threading;
using System.Threading.Tasks;
diff --git a/src/Ryujinx.Headless.SDL2/HeadlessHostUiTheme.cs b/src/Ryujinx.Headless.SDL2/HeadlessHostUiTheme.cs
index a2df6f3ee..78cd43ae5 100644
--- a/src/Ryujinx.Headless.SDL2/HeadlessHostUiTheme.cs
+++ b/src/Ryujinx.Headless.SDL2/HeadlessHostUiTheme.cs
@@ -1,8 +1,8 @@
-using Ryujinx.HLE.Ui;
+using Ryujinx.HLE.UI;
namespace Ryujinx.Headless.SDL2
{
- internal class HeadlessHostUiTheme : IHostUiTheme
+ internal class HeadlessHostUiTheme : IHostUITheme
{
public string FontFamily => "sans-serif";
diff --git a/src/Ryujinx.Headless.SDL2/WindowBase.cs b/src/Ryujinx.Headless.SDL2/WindowBase.cs
index b1f43dc22..8768913f5 100644
--- a/src/Ryujinx.Headless.SDL2/WindowBase.cs
+++ b/src/Ryujinx.Headless.SDL2/WindowBase.cs
@@ -7,7 +7,7 @@ using Ryujinx.Graphics.Gpu;
using Ryujinx.Graphics.OpenGL;
using Ryujinx.HLE.HOS.Applets;
using Ryujinx.HLE.HOS.Services.Am.AppletOE.ApplicationProxyService.ApplicationProxy.Types;
-using Ryujinx.HLE.Ui;
+using Ryujinx.HLE.UI;
using Ryujinx.Input;
using Ryujinx.Input.HLE;
using Ryujinx.SDL2.Common;
@@ -25,7 +25,7 @@ using Switch = Ryujinx.HLE.Switch;
namespace Ryujinx.Headless.SDL2
{
- abstract partial class WindowBase : IHostUiHandler, IDisposable
+ abstract partial class WindowBase : IHostUIHandler, IDisposable
{
protected const int DefaultWidth = 1280;
protected const int DefaultHeight = 720;
@@ -53,7 +53,7 @@ namespace Ryujinx.Headless.SDL2
protected IntPtr WindowHandle { get; set; }
- public IHostUiTheme HostUiTheme { get; }
+ public IHostUITheme HostUITheme { get; }
public int Width { get; private set; }
public int Height { get; private set; }
public int DisplayId { get; set; }
@@ -106,7 +106,7 @@ namespace Ryujinx.Headless.SDL2
_gpuDoneEvent = new ManualResetEvent(false);
_aspectRatio = aspectRatio;
_enableMouse = enableMouse;
- HostUiTheme = new HeadlessHostUiTheme();
+ HostUITheme = new HeadlessHostUiTheme();
SDL2Driver.Instance.Initialize();
}
@@ -465,7 +465,7 @@ namespace Ryujinx.Headless.SDL2
Exit();
}
- public bool DisplayInputDialog(SoftwareKeyboardUiArgs args, out string userText)
+ public bool DisplayInputDialog(SoftwareKeyboardUIArgs args, out string userText)
{
// SDL2 doesn't support input dialogs
userText = "Ryujinx";
@@ -480,7 +480,7 @@ namespace Ryujinx.Headless.SDL2
return true;
}
- public bool DisplayMessageDialog(ControllerAppletUiArgs args)
+ public bool DisplayMessageDialog(ControllerAppletUIArgs args)
{
string playerCount = args.PlayerCountMin == args.PlayerCountMax ? $"exactly {args.PlayerCountMin}" : $"{args.PlayerCountMin}-{args.PlayerCountMax}";
diff --git a/src/Ryujinx.Ui.Common/App/ApplicationAddedEventArgs.cs b/src/Ryujinx.UI.Common/App/ApplicationAddedEventArgs.cs
similarity index 81%
rename from src/Ryujinx.Ui.Common/App/ApplicationAddedEventArgs.cs
rename to src/Ryujinx.UI.Common/App/ApplicationAddedEventArgs.cs
index 01e20276e..58e066b9d 100644
--- a/src/Ryujinx.Ui.Common/App/ApplicationAddedEventArgs.cs
+++ b/src/Ryujinx.UI.Common/App/ApplicationAddedEventArgs.cs
@@ -1,6 +1,6 @@
using System;
-namespace Ryujinx.Ui.App.Common
+namespace Ryujinx.UI.App.Common
{
public class ApplicationAddedEventArgs : EventArgs
{
diff --git a/src/Ryujinx.Ui.Common/App/ApplicationCountUpdatedEventArgs.cs b/src/Ryujinx.UI.Common/App/ApplicationCountUpdatedEventArgs.cs
similarity index 85%
rename from src/Ryujinx.Ui.Common/App/ApplicationCountUpdatedEventArgs.cs
rename to src/Ryujinx.UI.Common/App/ApplicationCountUpdatedEventArgs.cs
index ca54ddf7a..5ed7baf19 100644
--- a/src/Ryujinx.Ui.Common/App/ApplicationCountUpdatedEventArgs.cs
+++ b/src/Ryujinx.UI.Common/App/ApplicationCountUpdatedEventArgs.cs
@@ -1,6 +1,6 @@
using System;
-namespace Ryujinx.Ui.App.Common
+namespace Ryujinx.UI.App.Common
{
public class ApplicationCountUpdatedEventArgs : EventArgs
{
diff --git a/src/Ryujinx.Ui.Common/App/ApplicationData.cs b/src/Ryujinx.UI.Common/App/ApplicationData.cs
similarity index 98%
rename from src/Ryujinx.Ui.Common/App/ApplicationData.cs
rename to src/Ryujinx.UI.Common/App/ApplicationData.cs
index bd844805b..8cc7238e9 100644
--- a/src/Ryujinx.Ui.Common/App/ApplicationData.cs
+++ b/src/Ryujinx.UI.Common/App/ApplicationData.cs
@@ -9,11 +9,11 @@ using LibHac.Tools.FsSystem;
using LibHac.Tools.FsSystem.NcaUtils;
using Ryujinx.Common.Logging;
using Ryujinx.HLE.FileSystem;
-using Ryujinx.Ui.Common.Helper;
+using Ryujinx.UI.Common.Helper;
using System;
using System.IO;
-namespace Ryujinx.Ui.App.Common
+namespace Ryujinx.UI.App.Common
{
public class ApplicationData
{
diff --git a/src/Ryujinx.Ui.Common/App/ApplicationJsonSerializerContext.cs b/src/Ryujinx.UI.Common/App/ApplicationJsonSerializerContext.cs
similarity index 88%
rename from src/Ryujinx.Ui.Common/App/ApplicationJsonSerializerContext.cs
rename to src/Ryujinx.UI.Common/App/ApplicationJsonSerializerContext.cs
index 9a7b3eddf..ada7cc346 100644
--- a/src/Ryujinx.Ui.Common/App/ApplicationJsonSerializerContext.cs
+++ b/src/Ryujinx.UI.Common/App/ApplicationJsonSerializerContext.cs
@@ -1,6 +1,6 @@
using System.Text.Json.Serialization;
-namespace Ryujinx.Ui.App.Common
+namespace Ryujinx.UI.App.Common
{
[JsonSourceGenerationOptions(WriteIndented = true)]
[JsonSerializable(typeof(ApplicationMetadata))]
diff --git a/src/Ryujinx.Ui.Common/App/ApplicationLibrary.cs b/src/Ryujinx.UI.Common/App/ApplicationLibrary.cs
similarity index 97%
rename from src/Ryujinx.Ui.Common/App/ApplicationLibrary.cs
rename to src/Ryujinx.UI.Common/App/ApplicationLibrary.cs
index 3b35ff270..65cf7a9e6 100644
--- a/src/Ryujinx.Ui.Common/App/ApplicationLibrary.cs
+++ b/src/Ryujinx.UI.Common/App/ApplicationLibrary.cs
@@ -15,8 +15,8 @@ using Ryujinx.Common.Utilities;
using Ryujinx.HLE.FileSystem;
using Ryujinx.HLE.HOS.SystemState;
using Ryujinx.HLE.Loaders.Npdm;
-using Ryujinx.Ui.Common.Configuration;
-using Ryujinx.Ui.Common.Configuration.System;
+using Ryujinx.UI.Common.Configuration;
+using Ryujinx.UI.Common.Configuration.System;
using System;
using System.Collections.Generic;
using System.Globalization;
@@ -29,7 +29,7 @@ using System.Threading;
using Path = System.IO.Path;
using TimeSpan = System.TimeSpan;
-namespace Ryujinx.Ui.App.Common
+namespace Ryujinx.UI.App.Common
{
public class ApplicationLibrary
{
@@ -53,11 +53,11 @@ namespace Ryujinx.Ui.App.Common
{
_virtualFileSystem = virtualFileSystem;
- _nspIcon = GetResourceBytes("Ryujinx.Ui.Common.Resources.Icon_NSP.png");
- _xciIcon = GetResourceBytes("Ryujinx.Ui.Common.Resources.Icon_XCI.png");
- _ncaIcon = GetResourceBytes("Ryujinx.Ui.Common.Resources.Icon_NCA.png");
- _nroIcon = GetResourceBytes("Ryujinx.Ui.Common.Resources.Icon_NRO.png");
- _nsoIcon = GetResourceBytes("Ryujinx.Ui.Common.Resources.Icon_NSO.png");
+ _nspIcon = GetResourceBytes("Ryujinx.UI.Common.Resources.Icon_NSP.png");
+ _xciIcon = GetResourceBytes("Ryujinx.UI.Common.Resources.Icon_XCI.png");
+ _ncaIcon = GetResourceBytes("Ryujinx.UI.Common.Resources.Icon_NCA.png");
+ _nroIcon = GetResourceBytes("Ryujinx.UI.Common.Resources.Icon_NRO.png");
+ _nsoIcon = GetResourceBytes("Ryujinx.UI.Common.Resources.Icon_NSO.png");
}
private static byte[] GetResourceBytes(string resourceName)
@@ -116,12 +116,12 @@ namespace Ryujinx.Ui.App.Common
IEnumerable files = Directory.EnumerateFiles(appDir, "*", SearchOption.AllDirectories).Where(file =>
{
return
- (Path.GetExtension(file).ToLower() is ".nsp" && ConfigurationState.Instance.Ui.ShownFileTypes.NSP.Value) ||
- (Path.GetExtension(file).ToLower() is ".pfs0" && ConfigurationState.Instance.Ui.ShownFileTypes.PFS0.Value) ||
- (Path.GetExtension(file).ToLower() is ".xci" && ConfigurationState.Instance.Ui.ShownFileTypes.XCI.Value) ||
- (Path.GetExtension(file).ToLower() is ".nca" && ConfigurationState.Instance.Ui.ShownFileTypes.NCA.Value) ||
- (Path.GetExtension(file).ToLower() is ".nro" && ConfigurationState.Instance.Ui.ShownFileTypes.NRO.Value) ||
- (Path.GetExtension(file).ToLower() is ".nso" && ConfigurationState.Instance.Ui.ShownFileTypes.NSO.Value);
+ (Path.GetExtension(file).ToLower() is ".nsp" && ConfigurationState.Instance.UI.ShownFileTypes.NSP.Value) ||
+ (Path.GetExtension(file).ToLower() is ".pfs0" && ConfigurationState.Instance.UI.ShownFileTypes.PFS0.Value) ||
+ (Path.GetExtension(file).ToLower() is ".xci" && ConfigurationState.Instance.UI.ShownFileTypes.XCI.Value) ||
+ (Path.GetExtension(file).ToLower() is ".nca" && ConfigurationState.Instance.UI.ShownFileTypes.NCA.Value) ||
+ (Path.GetExtension(file).ToLower() is ".nro" && ConfigurationState.Instance.UI.ShownFileTypes.NRO.Value) ||
+ (Path.GetExtension(file).ToLower() is ".nso" && ConfigurationState.Instance.UI.ShownFileTypes.NSO.Value);
});
foreach (string app in files)
diff --git a/src/Ryujinx.Ui.Common/App/ApplicationMetadata.cs b/src/Ryujinx.UI.Common/App/ApplicationMetadata.cs
similarity index 98%
rename from src/Ryujinx.Ui.Common/App/ApplicationMetadata.cs
rename to src/Ryujinx.UI.Common/App/ApplicationMetadata.cs
index 43647feef..81193c5b3 100644
--- a/src/Ryujinx.Ui.Common/App/ApplicationMetadata.cs
+++ b/src/Ryujinx.UI.Common/App/ApplicationMetadata.cs
@@ -1,7 +1,7 @@
using System;
using System.Text.Json.Serialization;
-namespace Ryujinx.Ui.App.Common
+namespace Ryujinx.UI.App.Common
{
public class ApplicationMetadata
{
diff --git a/src/Ryujinx.Ui.Common/Configuration/AudioBackend.cs b/src/Ryujinx.UI.Common/Configuration/AudioBackend.cs
similarity index 85%
rename from src/Ryujinx.Ui.Common/Configuration/AudioBackend.cs
rename to src/Ryujinx.UI.Common/Configuration/AudioBackend.cs
index dc0a5ac61..a952e7ac0 100644
--- a/src/Ryujinx.Ui.Common/Configuration/AudioBackend.cs
+++ b/src/Ryujinx.UI.Common/Configuration/AudioBackend.cs
@@ -1,7 +1,7 @@
using Ryujinx.Common.Utilities;
using System.Text.Json.Serialization;
-namespace Ryujinx.Ui.Common.Configuration
+namespace Ryujinx.UI.Common.Configuration
{
[JsonConverter(typeof(TypedStringEnumConverter))]
public enum AudioBackend
diff --git a/src/Ryujinx.Ui.Common/Configuration/ConfigurationFileFormat.cs b/src/Ryujinx.UI.Common/Configuration/ConfigurationFileFormat.cs
similarity index 99%
rename from src/Ryujinx.Ui.Common/Configuration/ConfigurationFileFormat.cs
rename to src/Ryujinx.UI.Common/Configuration/ConfigurationFileFormat.cs
index 8a4db1fe7..0ee51d830 100644
--- a/src/Ryujinx.Ui.Common/Configuration/ConfigurationFileFormat.cs
+++ b/src/Ryujinx.UI.Common/Configuration/ConfigurationFileFormat.cs
@@ -3,12 +3,12 @@ using Ryujinx.Common.Configuration.Hid;
using Ryujinx.Common.Configuration.Multiplayer;
using Ryujinx.Common.Logging;
using Ryujinx.Common.Utilities;
-using Ryujinx.Ui.Common.Configuration.System;
-using Ryujinx.Ui.Common.Configuration.Ui;
+using Ryujinx.UI.Common.Configuration.System;
+using Ryujinx.UI.Common.Configuration.UI;
using System.Collections.Generic;
using System.Text.Json.Nodes;
-namespace Ryujinx.Ui.Common.Configuration
+namespace Ryujinx.UI.Common.Configuration
{
public class ConfigurationFileFormat
{
diff --git a/src/Ryujinx.Ui.Common/Configuration/ConfigurationFileFormatSettings.cs b/src/Ryujinx.UI.Common/Configuration/ConfigurationFileFormatSettings.cs
similarity index 85%
rename from src/Ryujinx.Ui.Common/Configuration/ConfigurationFileFormatSettings.cs
rename to src/Ryujinx.UI.Common/Configuration/ConfigurationFileFormatSettings.cs
index 9a1841fc5..9861ebf1f 100644
--- a/src/Ryujinx.Ui.Common/Configuration/ConfigurationFileFormatSettings.cs
+++ b/src/Ryujinx.UI.Common/Configuration/ConfigurationFileFormatSettings.cs
@@ -1,6 +1,6 @@
using Ryujinx.Common.Utilities;
-namespace Ryujinx.Ui.Common.Configuration
+namespace Ryujinx.UI.Common.Configuration
{
internal static class ConfigurationFileFormatSettings
{
diff --git a/src/Ryujinx.Ui.Common/Configuration/ConfigurationJsonSerializerContext.cs b/src/Ryujinx.UI.Common/Configuration/ConfigurationJsonSerializerContext.cs
similarity index 85%
rename from src/Ryujinx.Ui.Common/Configuration/ConfigurationJsonSerializerContext.cs
rename to src/Ryujinx.UI.Common/Configuration/ConfigurationJsonSerializerContext.cs
index 03989edec..3c3e3f20d 100644
--- a/src/Ryujinx.Ui.Common/Configuration/ConfigurationJsonSerializerContext.cs
+++ b/src/Ryujinx.UI.Common/Configuration/ConfigurationJsonSerializerContext.cs
@@ -1,6 +1,6 @@
using System.Text.Json.Serialization;
-namespace Ryujinx.Ui.Common.Configuration
+namespace Ryujinx.UI.Common.Configuration
{
[JsonSourceGenerationOptions(WriteIndented = true)]
[JsonSerializable(typeof(ConfigurationFileFormat))]
diff --git a/src/Ryujinx.Ui.Common/Configuration/ConfigurationState.cs b/src/Ryujinx.UI.Common/Configuration/ConfigurationState.cs
similarity index 90%
rename from src/Ryujinx.Ui.Common/Configuration/ConfigurationState.cs
rename to src/Ryujinx.UI.Common/Configuration/ConfigurationState.cs
index b017d384c..1d6934ce3 100644
--- a/src/Ryujinx.Ui.Common/Configuration/ConfigurationState.cs
+++ b/src/Ryujinx.UI.Common/Configuration/ConfigurationState.cs
@@ -6,21 +6,21 @@ using Ryujinx.Common.Configuration.Hid.Keyboard;
using Ryujinx.Common.Configuration.Multiplayer;
using Ryujinx.Common.Logging;
using Ryujinx.Graphics.Vulkan;
-using Ryujinx.Ui.Common.Configuration.System;
-using Ryujinx.Ui.Common.Configuration.Ui;
-using Ryujinx.Ui.Common.Helper;
+using Ryujinx.UI.Common.Configuration.System;
+using Ryujinx.UI.Common.Configuration.UI;
+using Ryujinx.UI.Common.Helper;
using System;
using System.Collections.Generic;
using System.Text.Json.Nodes;
-namespace Ryujinx.Ui.Common.Configuration
+namespace Ryujinx.UI.Common.Configuration
{
public class ConfigurationState
{
///
/// UI configuration section
///
- public class UiSection
+ public class UISection
{
public class Columns
{
@@ -186,7 +186,7 @@ namespace Ryujinx.Ui.Common.Configuration
///
public ReactiveObject IsAscendingOrder { get; private set; }
- public UiSection()
+ public UISection()
{
GuiColumns = new Columns();
ColumnSort = new ColumnSortSettings();
@@ -582,9 +582,9 @@ namespace Ryujinx.Ui.Common.Configuration
public static ConfigurationState Instance { get; private set; }
///
- /// The Ui section
+ /// The UI section
///
- public UiSection Ui { get; private set; }
+ public UISection UI { get; private set; }
///
/// The Logger section
@@ -633,7 +633,7 @@ namespace Ryujinx.Ui.Common.Configuration
private ConfigurationState()
{
- Ui = new UiSection();
+ UI = new UISection();
Logger = new LoggerSection();
System = new SystemSection();
Graphics = new GraphicsSection();
@@ -696,51 +696,51 @@ namespace Ryujinx.Ui.Common.Configuration
UseHypervisor = System.UseHypervisor,
GuiColumns = new GuiColumns
{
- FavColumn = Ui.GuiColumns.FavColumn,
- IconColumn = Ui.GuiColumns.IconColumn,
- AppColumn = Ui.GuiColumns.AppColumn,
- DevColumn = Ui.GuiColumns.DevColumn,
- VersionColumn = Ui.GuiColumns.VersionColumn,
- TimePlayedColumn = Ui.GuiColumns.TimePlayedColumn,
- LastPlayedColumn = Ui.GuiColumns.LastPlayedColumn,
- FileExtColumn = Ui.GuiColumns.FileExtColumn,
- FileSizeColumn = Ui.GuiColumns.FileSizeColumn,
- PathColumn = Ui.GuiColumns.PathColumn,
+ FavColumn = UI.GuiColumns.FavColumn,
+ IconColumn = UI.GuiColumns.IconColumn,
+ AppColumn = UI.GuiColumns.AppColumn,
+ DevColumn = UI.GuiColumns.DevColumn,
+ VersionColumn = UI.GuiColumns.VersionColumn,
+ TimePlayedColumn = UI.GuiColumns.TimePlayedColumn,
+ LastPlayedColumn = UI.GuiColumns.LastPlayedColumn,
+ FileExtColumn = UI.GuiColumns.FileExtColumn,
+ FileSizeColumn = UI.GuiColumns.FileSizeColumn,
+ PathColumn = UI.GuiColumns.PathColumn,
},
ColumnSort = new ColumnSort
{
- SortColumnId = Ui.ColumnSort.SortColumnId,
- SortAscending = Ui.ColumnSort.SortAscending,
+ SortColumnId = UI.ColumnSort.SortColumnId,
+ SortAscending = UI.ColumnSort.SortAscending,
},
- GameDirs = Ui.GameDirs,
+ GameDirs = UI.GameDirs,
ShownFileTypes = new ShownFileTypes
{
- NSP = Ui.ShownFileTypes.NSP,
- PFS0 = Ui.ShownFileTypes.PFS0,
- XCI = Ui.ShownFileTypes.XCI,
- NCA = Ui.ShownFileTypes.NCA,
- NRO = Ui.ShownFileTypes.NRO,
- NSO = Ui.ShownFileTypes.NSO,
+ NSP = UI.ShownFileTypes.NSP,
+ PFS0 = UI.ShownFileTypes.PFS0,
+ XCI = UI.ShownFileTypes.XCI,
+ NCA = UI.ShownFileTypes.NCA,
+ NRO = UI.ShownFileTypes.NRO,
+ NSO = UI.ShownFileTypes.NSO,
},
WindowStartup = new WindowStartup
{
- WindowSizeWidth = Ui.WindowStartup.WindowSizeWidth,
- WindowSizeHeight = Ui.WindowStartup.WindowSizeHeight,
- WindowPositionX = Ui.WindowStartup.WindowPositionX,
- WindowPositionY = Ui.WindowStartup.WindowPositionY,
- WindowMaximized = Ui.WindowStartup.WindowMaximized,
+ WindowSizeWidth = UI.WindowStartup.WindowSizeWidth,
+ WindowSizeHeight = UI.WindowStartup.WindowSizeHeight,
+ WindowPositionX = UI.WindowStartup.WindowPositionX,
+ WindowPositionY = UI.WindowStartup.WindowPositionY,
+ WindowMaximized = UI.WindowStartup.WindowMaximized,
},
- LanguageCode = Ui.LanguageCode,
- EnableCustomTheme = Ui.EnableCustomTheme,
- CustomThemePath = Ui.CustomThemePath,
- BaseStyle = Ui.BaseStyle,
- GameListViewMode = Ui.GameListViewMode,
- ShowNames = Ui.ShowNames,
- GridSize = Ui.GridSize,
- ApplicationSort = Ui.ApplicationSort,
- IsAscendingOrder = Ui.IsAscendingOrder,
- StartFullscreen = Ui.StartFullscreen,
- ShowConsole = Ui.ShowConsole,
+ LanguageCode = UI.LanguageCode,
+ EnableCustomTheme = UI.EnableCustomTheme,
+ CustomThemePath = UI.CustomThemePath,
+ BaseStyle = UI.BaseStyle,
+ GameListViewMode = UI.GameListViewMode,
+ ShowNames = UI.ShowNames,
+ GridSize = UI.GridSize,
+ ApplicationSort = UI.ApplicationSort,
+ IsAscendingOrder = UI.IsAscendingOrder,
+ StartFullscreen = UI.StartFullscreen,
+ ShowConsole = UI.ShowConsole,
EnableKeyboard = Hid.EnableKeyboard,
EnableMouse = Hid.EnableMouse,
Hotkeys = Hid.Hotkeys,
@@ -806,41 +806,41 @@ namespace Ryujinx.Ui.Common.Configuration
System.UseHypervisor.Value = true;
Multiplayer.LanInterfaceId.Value = "0";
Multiplayer.Mode.Value = MultiplayerMode.Disabled;
- Ui.GuiColumns.FavColumn.Value = true;
- Ui.GuiColumns.IconColumn.Value = true;
- Ui.GuiColumns.AppColumn.Value = true;
- Ui.GuiColumns.DevColumn.Value = true;
- Ui.GuiColumns.VersionColumn.Value = true;
- Ui.GuiColumns.TimePlayedColumn.Value = true;
- Ui.GuiColumns.LastPlayedColumn.Value = true;
- Ui.GuiColumns.FileExtColumn.Value = true;
- Ui.GuiColumns.FileSizeColumn.Value = true;
- Ui.GuiColumns.PathColumn.Value = true;
- Ui.ColumnSort.SortColumnId.Value = 0;
- Ui.ColumnSort.SortAscending.Value = false;
- Ui.GameDirs.Value = new List();
- Ui.ShownFileTypes.NSP.Value = true;
- Ui.ShownFileTypes.PFS0.Value = true;
- Ui.ShownFileTypes.XCI.Value = true;
- Ui.ShownFileTypes.NCA.Value = true;
- Ui.ShownFileTypes.NRO.Value = true;
- Ui.ShownFileTypes.NSO.Value = true;
- Ui.EnableCustomTheme.Value = true;
- Ui.LanguageCode.Value = "en_US";
- Ui.CustomThemePath.Value = "";
- Ui.BaseStyle.Value = "Dark";
- Ui.GameListViewMode.Value = 0;
- Ui.ShowNames.Value = true;
- Ui.GridSize.Value = 2;
- Ui.ApplicationSort.Value = 0;
- Ui.IsAscendingOrder.Value = true;
- Ui.StartFullscreen.Value = false;
- Ui.ShowConsole.Value = true;
- Ui.WindowStartup.WindowSizeWidth.Value = 1280;
- Ui.WindowStartup.WindowSizeHeight.Value = 760;
- Ui.WindowStartup.WindowPositionX.Value = 0;
- Ui.WindowStartup.WindowPositionY.Value = 0;
- Ui.WindowStartup.WindowMaximized.Value = false;
+ UI.GuiColumns.FavColumn.Value = true;
+ UI.GuiColumns.IconColumn.Value = true;
+ UI.GuiColumns.AppColumn.Value = true;
+ UI.GuiColumns.DevColumn.Value = true;
+ UI.GuiColumns.VersionColumn.Value = true;
+ UI.GuiColumns.TimePlayedColumn.Value = true;
+ UI.GuiColumns.LastPlayedColumn.Value = true;
+ UI.GuiColumns.FileExtColumn.Value = true;
+ UI.GuiColumns.FileSizeColumn.Value = true;
+ UI.GuiColumns.PathColumn.Value = true;
+ UI.ColumnSort.SortColumnId.Value = 0;
+ UI.ColumnSort.SortAscending.Value = false;
+ UI.GameDirs.Value = new List();
+ UI.ShownFileTypes.NSP.Value = true;
+ UI.ShownFileTypes.PFS0.Value = true;
+ UI.ShownFileTypes.XCI.Value = true;
+ UI.ShownFileTypes.NCA.Value = true;
+ UI.ShownFileTypes.NRO.Value = true;
+ UI.ShownFileTypes.NSO.Value = true;
+ UI.EnableCustomTheme.Value = true;
+ UI.LanguageCode.Value = "en_US";
+ UI.CustomThemePath.Value = "";
+ UI.BaseStyle.Value = "Dark";
+ UI.GameListViewMode.Value = 0;
+ UI.ShowNames.Value = true;
+ UI.GridSize.Value = 2;
+ UI.ApplicationSort.Value = 0;
+ UI.IsAscendingOrder.Value = true;
+ UI.StartFullscreen.Value = false;
+ UI.ShowConsole.Value = true;
+ UI.WindowStartup.WindowSizeWidth.Value = 1280;
+ UI.WindowStartup.WindowSizeHeight.Value = 760;
+ UI.WindowStartup.WindowPositionX.Value = 0;
+ UI.WindowStartup.WindowPositionY.Value = 0;
+ UI.WindowStartup.WindowMaximized.Value = false;
Hid.EnableKeyboard.Value = false;
Hid.EnableMouse.Value = false;
Hid.Hotkeys.Value = new KeyboardHotkeys
@@ -848,7 +848,7 @@ namespace Ryujinx.Ui.Common.Configuration
ToggleVsync = Key.F1,
ToggleMute = Key.F2,
Screenshot = Key.F8,
- ShowUi = Key.F4,
+ ShowUI = Key.F4,
Pause = Key.F5,
ResScaleUp = Key.Unbound,
ResScaleDown = Key.Unbound,
@@ -1185,7 +1185,7 @@ namespace Ryujinx.Ui.Common.Configuration
{
ToggleVsync = Key.F1,
Screenshot = Key.F8,
- ShowUi = Key.F4,
+ ShowUI = Key.F4,
};
configurationFileUpdated = true;
@@ -1228,7 +1228,7 @@ namespace Ryujinx.Ui.Common.Configuration
{
ToggleVsync = configurationFileFormat.Hotkeys.ToggleVsync,
Screenshot = configurationFileFormat.Hotkeys.Screenshot,
- ShowUi = configurationFileFormat.Hotkeys.ShowUi,
+ ShowUI = configurationFileFormat.Hotkeys.ShowUI,
Pause = Key.F5,
};
@@ -1243,7 +1243,7 @@ namespace Ryujinx.Ui.Common.Configuration
{
ToggleVsync = configurationFileFormat.Hotkeys.ToggleVsync,
Screenshot = configurationFileFormat.Hotkeys.Screenshot,
- ShowUi = configurationFileFormat.Hotkeys.ShowUi,
+ ShowUI = configurationFileFormat.Hotkeys.ShowUI,
Pause = configurationFileFormat.Hotkeys.Pause,
ToggleMute = Key.F2,
};
@@ -1317,7 +1317,7 @@ namespace Ryujinx.Ui.Common.Configuration
{
ToggleVsync = configurationFileFormat.Hotkeys.ToggleVsync,
Screenshot = configurationFileFormat.Hotkeys.Screenshot,
- ShowUi = configurationFileFormat.Hotkeys.ShowUi,
+ ShowUI = configurationFileFormat.Hotkeys.ShowUI,
Pause = configurationFileFormat.Hotkeys.Pause,
ToggleMute = configurationFileFormat.Hotkeys.ToggleMute,
ResScaleUp = Key.Unbound,
@@ -1344,7 +1344,7 @@ namespace Ryujinx.Ui.Common.Configuration
{
ToggleVsync = configurationFileFormat.Hotkeys.ToggleVsync,
Screenshot = configurationFileFormat.Hotkeys.Screenshot,
- ShowUi = configurationFileFormat.Hotkeys.ShowUi,
+ ShowUI = configurationFileFormat.Hotkeys.ShowUI,
Pause = configurationFileFormat.Hotkeys.Pause,
ToggleMute = configurationFileFormat.Hotkeys.ToggleMute,
ResScaleUp = configurationFileFormat.Hotkeys.ResScaleUp,
@@ -1476,41 +1476,41 @@ namespace Ryujinx.Ui.Common.Configuration
System.ExpandRam.Value = configurationFileFormat.ExpandRam;
System.IgnoreMissingServices.Value = configurationFileFormat.IgnoreMissingServices;
System.UseHypervisor.Value = configurationFileFormat.UseHypervisor;
- Ui.GuiColumns.FavColumn.Value = configurationFileFormat.GuiColumns.FavColumn;
- Ui.GuiColumns.IconColumn.Value = configurationFileFormat.GuiColumns.IconColumn;
- Ui.GuiColumns.AppColumn.Value = configurationFileFormat.GuiColumns.AppColumn;
- Ui.GuiColumns.DevColumn.Value = configurationFileFormat.GuiColumns.DevColumn;
- Ui.GuiColumns.VersionColumn.Value = configurationFileFormat.GuiColumns.VersionColumn;
- Ui.GuiColumns.TimePlayedColumn.Value = configurationFileFormat.GuiColumns.TimePlayedColumn;
- Ui.GuiColumns.LastPlayedColumn.Value = configurationFileFormat.GuiColumns.LastPlayedColumn;
- Ui.GuiColumns.FileExtColumn.Value = configurationFileFormat.GuiColumns.FileExtColumn;
- Ui.GuiColumns.FileSizeColumn.Value = configurationFileFormat.GuiColumns.FileSizeColumn;
- Ui.GuiColumns.PathColumn.Value = configurationFileFormat.GuiColumns.PathColumn;
- Ui.ColumnSort.SortColumnId.Value = configurationFileFormat.ColumnSort.SortColumnId;
- Ui.ColumnSort.SortAscending.Value = configurationFileFormat.ColumnSort.SortAscending;
- Ui.GameDirs.Value = configurationFileFormat.GameDirs;
- Ui.ShownFileTypes.NSP.Value = configurationFileFormat.ShownFileTypes.NSP;
- Ui.ShownFileTypes.PFS0.Value = configurationFileFormat.ShownFileTypes.PFS0;
- Ui.ShownFileTypes.XCI.Value = configurationFileFormat.ShownFileTypes.XCI;
- Ui.ShownFileTypes.NCA.Value = configurationFileFormat.ShownFileTypes.NCA;
- Ui.ShownFileTypes.NRO.Value = configurationFileFormat.ShownFileTypes.NRO;
- Ui.ShownFileTypes.NSO.Value = configurationFileFormat.ShownFileTypes.NSO;
- Ui.EnableCustomTheme.Value = configurationFileFormat.EnableCustomTheme;
- Ui.LanguageCode.Value = configurationFileFormat.LanguageCode;
- Ui.CustomThemePath.Value = configurationFileFormat.CustomThemePath;
- Ui.BaseStyle.Value = configurationFileFormat.BaseStyle;
- Ui.GameListViewMode.Value = configurationFileFormat.GameListViewMode;
- Ui.ShowNames.Value = configurationFileFormat.ShowNames;
- Ui.IsAscendingOrder.Value = configurationFileFormat.IsAscendingOrder;
- Ui.GridSize.Value = configurationFileFormat.GridSize;
- Ui.ApplicationSort.Value = configurationFileFormat.ApplicationSort;
- Ui.StartFullscreen.Value = configurationFileFormat.StartFullscreen;
- Ui.ShowConsole.Value = configurationFileFormat.ShowConsole;
- Ui.WindowStartup.WindowSizeWidth.Value = configurationFileFormat.WindowStartup.WindowSizeWidth;
- Ui.WindowStartup.WindowSizeHeight.Value = configurationFileFormat.WindowStartup.WindowSizeHeight;
- Ui.WindowStartup.WindowPositionX.Value = configurationFileFormat.WindowStartup.WindowPositionX;
- Ui.WindowStartup.WindowPositionY.Value = configurationFileFormat.WindowStartup.WindowPositionY;
- Ui.WindowStartup.WindowMaximized.Value = configurationFileFormat.WindowStartup.WindowMaximized;
+ UI.GuiColumns.FavColumn.Value = configurationFileFormat.GuiColumns.FavColumn;
+ UI.GuiColumns.IconColumn.Value = configurationFileFormat.GuiColumns.IconColumn;
+ UI.GuiColumns.AppColumn.Value = configurationFileFormat.GuiColumns.AppColumn;
+ UI.GuiColumns.DevColumn.Value = configurationFileFormat.GuiColumns.DevColumn;
+ UI.GuiColumns.VersionColumn.Value = configurationFileFormat.GuiColumns.VersionColumn;
+ UI.GuiColumns.TimePlayedColumn.Value = configurationFileFormat.GuiColumns.TimePlayedColumn;
+ UI.GuiColumns.LastPlayedColumn.Value = configurationFileFormat.GuiColumns.LastPlayedColumn;
+ UI.GuiColumns.FileExtColumn.Value = configurationFileFormat.GuiColumns.FileExtColumn;
+ UI.GuiColumns.FileSizeColumn.Value = configurationFileFormat.GuiColumns.FileSizeColumn;
+ UI.GuiColumns.PathColumn.Value = configurationFileFormat.GuiColumns.PathColumn;
+ UI.ColumnSort.SortColumnId.Value = configurationFileFormat.ColumnSort.SortColumnId;
+ UI.ColumnSort.SortAscending.Value = configurationFileFormat.ColumnSort.SortAscending;
+ UI.GameDirs.Value = configurationFileFormat.GameDirs;
+ UI.ShownFileTypes.NSP.Value = configurationFileFormat.ShownFileTypes.NSP;
+ UI.ShownFileTypes.PFS0.Value = configurationFileFormat.ShownFileTypes.PFS0;
+ UI.ShownFileTypes.XCI.Value = configurationFileFormat.ShownFileTypes.XCI;
+ UI.ShownFileTypes.NCA.Value = configurationFileFormat.ShownFileTypes.NCA;
+ UI.ShownFileTypes.NRO.Value = configurationFileFormat.ShownFileTypes.NRO;
+ UI.ShownFileTypes.NSO.Value = configurationFileFormat.ShownFileTypes.NSO;
+ UI.EnableCustomTheme.Value = configurationFileFormat.EnableCustomTheme;
+ UI.LanguageCode.Value = configurationFileFormat.LanguageCode;
+ UI.CustomThemePath.Value = configurationFileFormat.CustomThemePath;
+ UI.BaseStyle.Value = configurationFileFormat.BaseStyle;
+ UI.GameListViewMode.Value = configurationFileFormat.GameListViewMode;
+ UI.ShowNames.Value = configurationFileFormat.ShowNames;
+ UI.IsAscendingOrder.Value = configurationFileFormat.IsAscendingOrder;
+ UI.GridSize.Value = configurationFileFormat.GridSize;
+ UI.ApplicationSort.Value = configurationFileFormat.ApplicationSort;
+ UI.StartFullscreen.Value = configurationFileFormat.StartFullscreen;
+ UI.ShowConsole.Value = configurationFileFormat.ShowConsole;
+ UI.WindowStartup.WindowSizeWidth.Value = configurationFileFormat.WindowStartup.WindowSizeWidth;
+ UI.WindowStartup.WindowSizeHeight.Value = configurationFileFormat.WindowStartup.WindowSizeHeight;
+ UI.WindowStartup.WindowPositionX.Value = configurationFileFormat.WindowStartup.WindowPositionX;
+ UI.WindowStartup.WindowPositionY.Value = configurationFileFormat.WindowStartup.WindowPositionY;
+ UI.WindowStartup.WindowMaximized.Value = configurationFileFormat.WindowStartup.WindowMaximized;
Hid.EnableKeyboard.Value = configurationFileFormat.EnableKeyboard;
Hid.EnableMouse.Value = configurationFileFormat.EnableMouse;
Hid.Hotkeys.Value = configurationFileFormat.Hotkeys;
diff --git a/src/Ryujinx.Ui.Common/Configuration/FileTypes.cs b/src/Ryujinx.UI.Common/Configuration/FileTypes.cs
similarity index 81%
rename from src/Ryujinx.Ui.Common/Configuration/FileTypes.cs
rename to src/Ryujinx.UI.Common/Configuration/FileTypes.cs
index 9d2f63864..1974207b6 100644
--- a/src/Ryujinx.Ui.Common/Configuration/FileTypes.cs
+++ b/src/Ryujinx.UI.Common/Configuration/FileTypes.cs
@@ -1,4 +1,4 @@
-namespace Ryujinx.Ui.Common
+namespace Ryujinx.UI.Common
{
public enum FileTypes
{
diff --git a/src/Ryujinx.Ui.Common/Configuration/LoggerModule.cs b/src/Ryujinx.UI.Common/Configuration/LoggerModule.cs
similarity index 98%
rename from src/Ryujinx.Ui.Common/Configuration/LoggerModule.cs
rename to src/Ryujinx.UI.Common/Configuration/LoggerModule.cs
index 2edcd07f0..9cb283593 100644
--- a/src/Ryujinx.Ui.Common/Configuration/LoggerModule.cs
+++ b/src/Ryujinx.UI.Common/Configuration/LoggerModule.cs
@@ -5,7 +5,7 @@ using Ryujinx.Common.Logging.Targets;
using System;
using System.IO;
-namespace Ryujinx.Ui.Common.Configuration
+namespace Ryujinx.UI.Common.Configuration
{
public static class LoggerModule
{
diff --git a/src/Ryujinx.Ui.Common/Configuration/System/Language.cs b/src/Ryujinx.UI.Common/Configuration/System/Language.cs
similarity index 91%
rename from src/Ryujinx.Ui.Common/Configuration/System/Language.cs
rename to src/Ryujinx.UI.Common/Configuration/System/Language.cs
index 72416bfe7..d1d395b00 100644
--- a/src/Ryujinx.Ui.Common/Configuration/System/Language.cs
+++ b/src/Ryujinx.UI.Common/Configuration/System/Language.cs
@@ -1,7 +1,7 @@
using Ryujinx.Common.Utilities;
using System.Text.Json.Serialization;
-namespace Ryujinx.Ui.Common.Configuration.System
+namespace Ryujinx.UI.Common.Configuration.System
{
[JsonConverter(typeof(TypedStringEnumConverter))]
public enum Language
diff --git a/src/Ryujinx.Ui.Common/Configuration/System/Region.cs b/src/Ryujinx.UI.Common/Configuration/System/Region.cs
similarity index 85%
rename from src/Ryujinx.Ui.Common/Configuration/System/Region.cs
rename to src/Ryujinx.UI.Common/Configuration/System/Region.cs
index 2478b40f9..6087c70e5 100644
--- a/src/Ryujinx.Ui.Common/Configuration/System/Region.cs
+++ b/src/Ryujinx.UI.Common/Configuration/System/Region.cs
@@ -1,7 +1,7 @@
using Ryujinx.Common.Utilities;
using System.Text.Json.Serialization;
-namespace Ryujinx.Ui.Common.Configuration.System
+namespace Ryujinx.UI.Common.Configuration.System
{
[JsonConverter(typeof(TypedStringEnumConverter))]
public enum Region
diff --git a/src/Ryujinx.Ui.Common/Configuration/Ui/ColumnSort.cs b/src/Ryujinx.UI.Common/Configuration/UI/ColumnSort.cs
similarity index 75%
rename from src/Ryujinx.Ui.Common/Configuration/Ui/ColumnSort.cs
rename to src/Ryujinx.UI.Common/Configuration/UI/ColumnSort.cs
index 88cf7cdac..44e98c407 100644
--- a/src/Ryujinx.Ui.Common/Configuration/Ui/ColumnSort.cs
+++ b/src/Ryujinx.UI.Common/Configuration/UI/ColumnSort.cs
@@ -1,4 +1,4 @@
-namespace Ryujinx.Ui.Common.Configuration.Ui
+namespace Ryujinx.UI.Common.Configuration.UI
{
public struct ColumnSort
{
diff --git a/src/Ryujinx.Ui.Common/Configuration/Ui/GuiColumns.cs b/src/Ryujinx.UI.Common/Configuration/UI/GuiColumns.cs
similarity index 91%
rename from src/Ryujinx.Ui.Common/Configuration/Ui/GuiColumns.cs
rename to src/Ryujinx.UI.Common/Configuration/UI/GuiColumns.cs
index 7e944015b..c778ef1f1 100644
--- a/src/Ryujinx.Ui.Common/Configuration/Ui/GuiColumns.cs
+++ b/src/Ryujinx.UI.Common/Configuration/UI/GuiColumns.cs
@@ -1,4 +1,4 @@
-namespace Ryujinx.Ui.Common.Configuration.Ui
+namespace Ryujinx.UI.Common.Configuration.UI
{
public struct GuiColumns
{
diff --git a/src/Ryujinx.Ui.Common/Configuration/Ui/ShownFileTypes.cs b/src/Ryujinx.UI.Common/Configuration/UI/ShownFileTypes.cs
similarity index 86%
rename from src/Ryujinx.Ui.Common/Configuration/Ui/ShownFileTypes.cs
rename to src/Ryujinx.UI.Common/Configuration/UI/ShownFileTypes.cs
index 1b14fd467..6c72a6930 100644
--- a/src/Ryujinx.Ui.Common/Configuration/Ui/ShownFileTypes.cs
+++ b/src/Ryujinx.UI.Common/Configuration/UI/ShownFileTypes.cs
@@ -1,4 +1,4 @@
-namespace Ryujinx.Ui.Common.Configuration.Ui
+namespace Ryujinx.UI.Common.Configuration.UI
{
public struct ShownFileTypes
{
diff --git a/src/Ryujinx.Ui.Common/Configuration/Ui/WindowStartup.cs b/src/Ryujinx.UI.Common/Configuration/UI/WindowStartup.cs
similarity index 86%
rename from src/Ryujinx.Ui.Common/Configuration/Ui/WindowStartup.cs
rename to src/Ryujinx.UI.Common/Configuration/UI/WindowStartup.cs
index ce0dde6aa..0df459134 100644
--- a/src/Ryujinx.Ui.Common/Configuration/Ui/WindowStartup.cs
+++ b/src/Ryujinx.UI.Common/Configuration/UI/WindowStartup.cs
@@ -1,4 +1,4 @@
-namespace Ryujinx.Ui.Common.Configuration.Ui
+namespace Ryujinx.UI.Common.Configuration.UI
{
public struct WindowStartup
{
diff --git a/src/Ryujinx.Ui.Common/DiscordIntegrationModule.cs b/src/Ryujinx.UI.Common/DiscordIntegrationModule.cs
similarity index 97%
rename from src/Ryujinx.Ui.Common/DiscordIntegrationModule.cs
rename to src/Ryujinx.UI.Common/DiscordIntegrationModule.cs
index edc634aa5..0b9439eaa 100644
--- a/src/Ryujinx.Ui.Common/DiscordIntegrationModule.cs
+++ b/src/Ryujinx.UI.Common/DiscordIntegrationModule.cs
@@ -1,8 +1,8 @@
using DiscordRPC;
using Ryujinx.Common;
-using Ryujinx.Ui.Common.Configuration;
+using Ryujinx.UI.Common.Configuration;
-namespace Ryujinx.Ui.Common
+namespace Ryujinx.UI.Common
{
public static class DiscordIntegrationModule
{
diff --git a/src/Ryujinx.Ui.Common/Extensions/FileTypeExtensions.cs b/src/Ryujinx.UI.Common/Extensions/FileTypeExtensions.cs
similarity index 91%
rename from src/Ryujinx.Ui.Common/Extensions/FileTypeExtensions.cs
rename to src/Ryujinx.UI.Common/Extensions/FileTypeExtensions.cs
index c827f750e..7e71ba7a4 100644
--- a/src/Ryujinx.Ui.Common/Extensions/FileTypeExtensions.cs
+++ b/src/Ryujinx.UI.Common/Extensions/FileTypeExtensions.cs
@@ -1,7 +1,7 @@
using System;
-using static Ryujinx.Ui.Common.Configuration.ConfigurationState.UiSection;
+using static Ryujinx.UI.Common.Configuration.ConfigurationState.UISection;
-namespace Ryujinx.Ui.Common
+namespace Ryujinx.UI.Common
{
public static class FileTypesExtensions
{
diff --git a/src/Ryujinx.Ui.Common/Helper/CommandLineState.cs b/src/Ryujinx.UI.Common/Helper/CommandLineState.cs
similarity index 98%
rename from src/Ryujinx.Ui.Common/Helper/CommandLineState.cs
rename to src/Ryujinx.UI.Common/Helper/CommandLineState.cs
index 714cf2f0a..c3c5bd37e 100644
--- a/src/Ryujinx.Ui.Common/Helper/CommandLineState.cs
+++ b/src/Ryujinx.UI.Common/Helper/CommandLineState.cs
@@ -1,7 +1,7 @@
using Ryujinx.Common.Logging;
using System.Collections.Generic;
-namespace Ryujinx.Ui.Common.Helper
+namespace Ryujinx.UI.Common.Helper
{
public static class CommandLineState
{
diff --git a/src/Ryujinx.Ui.Common/Helper/ConsoleHelper.cs b/src/Ryujinx.UI.Common/Helper/ConsoleHelper.cs
similarity index 97%
rename from src/Ryujinx.Ui.Common/Helper/ConsoleHelper.cs
rename to src/Ryujinx.UI.Common/Helper/ConsoleHelper.cs
index 65155641f..208ff5c9d 100644
--- a/src/Ryujinx.Ui.Common/Helper/ConsoleHelper.cs
+++ b/src/Ryujinx.UI.Common/Helper/ConsoleHelper.cs
@@ -3,7 +3,7 @@ using System;
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
-namespace Ryujinx.Ui.Common.Helper
+namespace Ryujinx.UI.Common.Helper
{
public static partial class ConsoleHelper
{
diff --git a/src/Ryujinx.Ui.Common/Helper/FileAssociationHelper.cs b/src/Ryujinx.UI.Common/Helper/FileAssociationHelper.cs
similarity index 99%
rename from src/Ryujinx.Ui.Common/Helper/FileAssociationHelper.cs
rename to src/Ryujinx.UI.Common/Helper/FileAssociationHelper.cs
index daa59d251..7ed020319 100644
--- a/src/Ryujinx.Ui.Common/Helper/FileAssociationHelper.cs
+++ b/src/Ryujinx.UI.Common/Helper/FileAssociationHelper.cs
@@ -7,7 +7,7 @@ using System.IO;
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
-namespace Ryujinx.Ui.Common.Helper
+namespace Ryujinx.UI.Common.Helper
{
public static partial class FileAssociationHelper
{
diff --git a/src/Ryujinx.Ui.Common/Helper/LinuxHelper.cs b/src/Ryujinx.UI.Common/Helper/LinuxHelper.cs
similarity index 98%
rename from src/Ryujinx.Ui.Common/Helper/LinuxHelper.cs
rename to src/Ryujinx.UI.Common/Helper/LinuxHelper.cs
index bf647719a..b57793791 100644
--- a/src/Ryujinx.Ui.Common/Helper/LinuxHelper.cs
+++ b/src/Ryujinx.UI.Common/Helper/LinuxHelper.cs
@@ -3,7 +3,7 @@ using System.Diagnostics;
using System.IO;
using System.Runtime.Versioning;
-namespace Ryujinx.Ui.Common.Helper
+namespace Ryujinx.UI.Common.Helper
{
[SupportedOSPlatform("linux")]
public static class LinuxHelper
diff --git a/src/Ryujinx.Ui.Common/Helper/ObjectiveC.cs b/src/Ryujinx.UI.Common/Helper/ObjectiveC.cs
similarity index 99%
rename from src/Ryujinx.Ui.Common/Helper/ObjectiveC.cs
rename to src/Ryujinx.UI.Common/Helper/ObjectiveC.cs
index af8723e2f..6aba377a3 100644
--- a/src/Ryujinx.Ui.Common/Helper/ObjectiveC.cs
+++ b/src/Ryujinx.UI.Common/Helper/ObjectiveC.cs
@@ -2,7 +2,7 @@ using System;
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
-namespace Ryujinx.Ui.Common.Helper
+namespace Ryujinx.UI.Common.Helper
{
[SupportedOSPlatform("macos")]
public static partial class ObjectiveC
diff --git a/src/Ryujinx.Ui.Common/Helper/OpenHelper.cs b/src/Ryujinx.UI.Common/Helper/OpenHelper.cs
similarity index 99%
rename from src/Ryujinx.Ui.Common/Helper/OpenHelper.cs
rename to src/Ryujinx.UI.Common/Helper/OpenHelper.cs
index 04ebbf3b0..af6170afe 100644
--- a/src/Ryujinx.Ui.Common/Helper/OpenHelper.cs
+++ b/src/Ryujinx.UI.Common/Helper/OpenHelper.cs
@@ -4,7 +4,7 @@ using System.Diagnostics;
using System.IO;
using System.Runtime.InteropServices;
-namespace Ryujinx.Ui.Common.Helper
+namespace Ryujinx.UI.Common.Helper
{
public static partial class OpenHelper
{
diff --git a/src/Ryujinx.Ui.Common/Helper/SetupValidator.cs b/src/Ryujinx.UI.Common/Helper/SetupValidator.cs
similarity index 99%
rename from src/Ryujinx.Ui.Common/Helper/SetupValidator.cs
rename to src/Ryujinx.UI.Common/Helper/SetupValidator.cs
index 65c38d7b8..a954be26f 100644
--- a/src/Ryujinx.Ui.Common/Helper/SetupValidator.cs
+++ b/src/Ryujinx.UI.Common/Helper/SetupValidator.cs
@@ -3,7 +3,7 @@ using Ryujinx.HLE.FileSystem;
using System;
using System.IO;
-namespace Ryujinx.Ui.Common.Helper
+namespace Ryujinx.UI.Common.Helper
{
///
/// Ensure installation validity
diff --git a/src/Ryujinx.Ui.Common/Helper/ShortcutHelper.cs b/src/Ryujinx.UI.Common/Helper/ShortcutHelper.cs
similarity index 97%
rename from src/Ryujinx.Ui.Common/Helper/ShortcutHelper.cs
rename to src/Ryujinx.UI.Common/Helper/ShortcutHelper.cs
index 3d27d3ffb..c2085b28c 100644
--- a/src/Ryujinx.Ui.Common/Helper/ShortcutHelper.cs
+++ b/src/Ryujinx.UI.Common/Helper/ShortcutHelper.cs
@@ -10,7 +10,7 @@ using System.Collections.Generic;
using System.IO;
using System.Runtime.Versioning;
-namespace Ryujinx.Ui.Common.Helper
+namespace Ryujinx.UI.Common.Helper
{
public static class ShortcutHelper
{
@@ -34,7 +34,7 @@ namespace Ryujinx.Ui.Common.Helper
private static void CreateShortcutLinux(string applicationFilePath, byte[] iconData, string iconPath, string desktopPath, string cleanedAppName)
{
string basePath = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "Ryujinx.sh");
- var desktopFile = EmbeddedResources.ReadAllText("Ryujinx.Ui.Common/shortcut-template.desktop");
+ var desktopFile = EmbeddedResources.ReadAllText("Ryujinx.UI.Common/shortcut-template.desktop");
iconPath += ".png";
var image = Image.Load(iconData);
@@ -48,8 +48,8 @@ namespace Ryujinx.Ui.Common.Helper
private static void CreateShortcutMacos(string appFilePath, byte[] iconData, string desktopPath, string cleanedAppName)
{
string basePath = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "Ryujinx");
- var plistFile = EmbeddedResources.ReadAllText("Ryujinx.Ui.Common/shortcut-template.plist");
- var shortcutScript = EmbeddedResources.ReadAllText("Ryujinx.Ui.Common/shortcut-launch-script.sh");
+ var plistFile = EmbeddedResources.ReadAllText("Ryujinx.UI.Common/shortcut-template.plist");
+ var shortcutScript = EmbeddedResources.ReadAllText("Ryujinx.UI.Common/shortcut-launch-script.sh");
// Macos .App folder
string contentFolderPath = Path.Combine("/Applications", cleanedAppName + ".app", "Contents");
string scriptFolderPath = Path.Combine(contentFolderPath, "MacOS");
diff --git a/src/Ryujinx.Ui.Common/Helper/TitleHelper.cs b/src/Ryujinx.UI.Common/Helper/TitleHelper.cs
similarity index 96%
rename from src/Ryujinx.Ui.Common/Helper/TitleHelper.cs
rename to src/Ryujinx.UI.Common/Helper/TitleHelper.cs
index 089b52154..8b47ac38b 100644
--- a/src/Ryujinx.Ui.Common/Helper/TitleHelper.cs
+++ b/src/Ryujinx.UI.Common/Helper/TitleHelper.cs
@@ -1,7 +1,7 @@
using Ryujinx.HLE.Loaders.Processes;
using System;
-namespace Ryujinx.Ui.Common.Helper
+namespace Ryujinx.UI.Common.Helper
{
public static class TitleHelper
{
diff --git a/src/Ryujinx.Ui.Common/Helper/ValueFormatUtils.cs b/src/Ryujinx.UI.Common/Helper/ValueFormatUtils.cs
similarity index 99%
rename from src/Ryujinx.Ui.Common/Helper/ValueFormatUtils.cs
rename to src/Ryujinx.UI.Common/Helper/ValueFormatUtils.cs
index b1597a7cc..8ea3e721f 100644
--- a/src/Ryujinx.Ui.Common/Helper/ValueFormatUtils.cs
+++ b/src/Ryujinx.UI.Common/Helper/ValueFormatUtils.cs
@@ -2,7 +2,7 @@ using System;
using System.Globalization;
using System.Linq;
-namespace Ryujinx.Ui.Common.Helper
+namespace Ryujinx.UI.Common.Helper
{
public static class ValueFormatUtils
{
diff --git a/src/Ryujinx.Ui.Common/Models/Amiibo/AmiiboApi.cs b/src/Ryujinx.UI.Common/Models/Amiibo/AmiiboApi.cs
similarity index 97%
rename from src/Ryujinx.Ui.Common/Models/Amiibo/AmiiboApi.cs
rename to src/Ryujinx.UI.Common/Models/Amiibo/AmiiboApi.cs
index ff0b80c46..7989f0f1a 100644
--- a/src/Ryujinx.Ui.Common/Models/Amiibo/AmiiboApi.cs
+++ b/src/Ryujinx.UI.Common/Models/Amiibo/AmiiboApi.cs
@@ -2,7 +2,7 @@ using System;
using System.Collections.Generic;
using System.Text.Json.Serialization;
-namespace Ryujinx.Ui.Common.Models.Amiibo
+namespace Ryujinx.UI.Common.Models.Amiibo
{
public struct AmiiboApi : IEquatable
{
diff --git a/src/Ryujinx.Ui.Common/Models/Amiibo/AmiiboApiGamesSwitch.cs b/src/Ryujinx.UI.Common/Models/Amiibo/AmiiboApiGamesSwitch.cs
similarity index 90%
rename from src/Ryujinx.Ui.Common/Models/Amiibo/AmiiboApiGamesSwitch.cs
rename to src/Ryujinx.UI.Common/Models/Amiibo/AmiiboApiGamesSwitch.cs
index 3c62b7cc4..40e635bf0 100644
--- a/src/Ryujinx.Ui.Common/Models/Amiibo/AmiiboApiGamesSwitch.cs
+++ b/src/Ryujinx.UI.Common/Models/Amiibo/AmiiboApiGamesSwitch.cs
@@ -1,7 +1,7 @@
using System.Collections.Generic;
using System.Text.Json.Serialization;
-namespace Ryujinx.Ui.Common.Models.Amiibo
+namespace Ryujinx.UI.Common.Models.Amiibo
{
public class AmiiboApiGamesSwitch
{
diff --git a/src/Ryujinx.Ui.Common/Models/Amiibo/AmiiboApiUsage.cs b/src/Ryujinx.UI.Common/Models/Amiibo/AmiiboApiUsage.cs
similarity index 85%
rename from src/Ryujinx.Ui.Common/Models/Amiibo/AmiiboApiUsage.cs
rename to src/Ryujinx.UI.Common/Models/Amiibo/AmiiboApiUsage.cs
index 3c774fd56..4f8d292b1 100644
--- a/src/Ryujinx.Ui.Common/Models/Amiibo/AmiiboApiUsage.cs
+++ b/src/Ryujinx.UI.Common/Models/Amiibo/AmiiboApiUsage.cs
@@ -1,6 +1,6 @@
using System.Text.Json.Serialization;
-namespace Ryujinx.Ui.Common.Models.Amiibo
+namespace Ryujinx.UI.Common.Models.Amiibo
{
public class AmiiboApiUsage
{
diff --git a/src/Ryujinx.Ui.Common/Models/Amiibo/AmiiboJson.cs b/src/Ryujinx.UI.Common/Models/Amiibo/AmiiboJson.cs
similarity index 88%
rename from src/Ryujinx.Ui.Common/Models/Amiibo/AmiiboJson.cs
rename to src/Ryujinx.UI.Common/Models/Amiibo/AmiiboJson.cs
index c9d91c50a..15083f505 100644
--- a/src/Ryujinx.Ui.Common/Models/Amiibo/AmiiboJson.cs
+++ b/src/Ryujinx.UI.Common/Models/Amiibo/AmiiboJson.cs
@@ -2,7 +2,7 @@ using System;
using System.Collections.Generic;
using System.Text.Json.Serialization;
-namespace Ryujinx.Ui.Common.Models.Amiibo
+namespace Ryujinx.UI.Common.Models.Amiibo
{
public struct AmiiboJson
{
diff --git a/src/Ryujinx.Ui.Common/Models/Amiibo/AmiiboJsonSerializerContext.cs b/src/Ryujinx.UI.Common/Models/Amiibo/AmiiboJsonSerializerContext.cs
similarity index 80%
rename from src/Ryujinx.Ui.Common/Models/Amiibo/AmiiboJsonSerializerContext.cs
rename to src/Ryujinx.UI.Common/Models/Amiibo/AmiiboJsonSerializerContext.cs
index 4906c6524..bc3f1303c 100644
--- a/src/Ryujinx.Ui.Common/Models/Amiibo/AmiiboJsonSerializerContext.cs
+++ b/src/Ryujinx.UI.Common/Models/Amiibo/AmiiboJsonSerializerContext.cs
@@ -1,6 +1,6 @@
using System.Text.Json.Serialization;
-namespace Ryujinx.Ui.Common.Models.Amiibo
+namespace Ryujinx.UI.Common.Models.Amiibo
{
[JsonSerializable(typeof(AmiiboJson))]
public partial class AmiiboJsonSerializerContext : JsonSerializerContext
diff --git a/src/Ryujinx.Ui.Common/Models/Github/GithubReleaseAssetJsonResponse.cs b/src/Ryujinx.UI.Common/Models/Github/GithubReleaseAssetJsonResponse.cs
similarity index 82%
rename from src/Ryujinx.Ui.Common/Models/Github/GithubReleaseAssetJsonResponse.cs
rename to src/Ryujinx.UI.Common/Models/Github/GithubReleaseAssetJsonResponse.cs
index 67d238d24..8f528dc0b 100644
--- a/src/Ryujinx.Ui.Common/Models/Github/GithubReleaseAssetJsonResponse.cs
+++ b/src/Ryujinx.UI.Common/Models/Github/GithubReleaseAssetJsonResponse.cs
@@ -1,4 +1,4 @@
-namespace Ryujinx.Ui.Common.Models.Github
+namespace Ryujinx.UI.Common.Models.Github
{
public class GithubReleaseAssetJsonResponse
{
diff --git a/src/Ryujinx.Ui.Common/Models/Github/GithubReleasesJsonResponse.cs b/src/Ryujinx.UI.Common/Models/Github/GithubReleasesJsonResponse.cs
similarity index 83%
rename from src/Ryujinx.Ui.Common/Models/Github/GithubReleasesJsonResponse.cs
rename to src/Ryujinx.UI.Common/Models/Github/GithubReleasesJsonResponse.cs
index 0f83e32cc..0250e1094 100644
--- a/src/Ryujinx.Ui.Common/Models/Github/GithubReleasesJsonResponse.cs
+++ b/src/Ryujinx.UI.Common/Models/Github/GithubReleasesJsonResponse.cs
@@ -1,6 +1,6 @@
using System.Collections.Generic;
-namespace Ryujinx.Ui.Common.Models.Github
+namespace Ryujinx.UI.Common.Models.Github
{
public class GithubReleasesJsonResponse
{
diff --git a/src/Ryujinx.Ui.Common/Models/Github/GithubReleasesJsonSerializerContext.cs b/src/Ryujinx.UI.Common/Models/Github/GithubReleasesJsonSerializerContext.cs
similarity index 85%
rename from src/Ryujinx.Ui.Common/Models/Github/GithubReleasesJsonSerializerContext.cs
rename to src/Ryujinx.UI.Common/Models/Github/GithubReleasesJsonSerializerContext.cs
index 8a19277b3..71864257c 100644
--- a/src/Ryujinx.Ui.Common/Models/Github/GithubReleasesJsonSerializerContext.cs
+++ b/src/Ryujinx.UI.Common/Models/Github/GithubReleasesJsonSerializerContext.cs
@@ -1,6 +1,6 @@
using System.Text.Json.Serialization;
-namespace Ryujinx.Ui.Common.Models.Github
+namespace Ryujinx.UI.Common.Models.Github
{
[JsonSerializable(typeof(GithubReleasesJsonResponse), GenerationMode = JsonSourceGenerationMode.Metadata)]
public partial class GithubReleasesJsonSerializerContext : JsonSerializerContext
diff --git a/src/Ryujinx.Ui.Common/Resources/Controller_JoyConLeft.svg b/src/Ryujinx.UI.Common/Resources/Controller_JoyConLeft.svg
similarity index 100%
rename from src/Ryujinx.Ui.Common/Resources/Controller_JoyConLeft.svg
rename to src/Ryujinx.UI.Common/Resources/Controller_JoyConLeft.svg
diff --git a/src/Ryujinx.Ui.Common/Resources/Controller_JoyConPair.svg b/src/Ryujinx.UI.Common/Resources/Controller_JoyConPair.svg
similarity index 100%
rename from src/Ryujinx.Ui.Common/Resources/Controller_JoyConPair.svg
rename to src/Ryujinx.UI.Common/Resources/Controller_JoyConPair.svg
diff --git a/src/Ryujinx.Ui.Common/Resources/Controller_JoyConRight.svg b/src/Ryujinx.UI.Common/Resources/Controller_JoyConRight.svg
similarity index 100%
rename from src/Ryujinx.Ui.Common/Resources/Controller_JoyConRight.svg
rename to src/Ryujinx.UI.Common/Resources/Controller_JoyConRight.svg
diff --git a/src/Ryujinx.Ui.Common/Resources/Controller_ProCon.svg b/src/Ryujinx.UI.Common/Resources/Controller_ProCon.svg
similarity index 100%
rename from src/Ryujinx.Ui.Common/Resources/Controller_ProCon.svg
rename to src/Ryujinx.UI.Common/Resources/Controller_ProCon.svg
diff --git a/src/Ryujinx.Ui.Common/Resources/Icon_NCA.png b/src/Ryujinx.UI.Common/Resources/Icon_NCA.png
similarity index 100%
rename from src/Ryujinx.Ui.Common/Resources/Icon_NCA.png
rename to src/Ryujinx.UI.Common/Resources/Icon_NCA.png
diff --git a/src/Ryujinx.Ui.Common/Resources/Icon_NRO.png b/src/Ryujinx.UI.Common/Resources/Icon_NRO.png
similarity index 100%
rename from src/Ryujinx.Ui.Common/Resources/Icon_NRO.png
rename to src/Ryujinx.UI.Common/Resources/Icon_NRO.png
diff --git a/src/Ryujinx.Ui.Common/Resources/Icon_NSO.png b/src/Ryujinx.UI.Common/Resources/Icon_NSO.png
similarity index 100%
rename from src/Ryujinx.Ui.Common/Resources/Icon_NSO.png
rename to src/Ryujinx.UI.Common/Resources/Icon_NSO.png
diff --git a/src/Ryujinx.Ui.Common/Resources/Icon_NSP.png b/src/Ryujinx.UI.Common/Resources/Icon_NSP.png
similarity index 100%
rename from src/Ryujinx.Ui.Common/Resources/Icon_NSP.png
rename to src/Ryujinx.UI.Common/Resources/Icon_NSP.png
diff --git a/src/Ryujinx.Ui.Common/Resources/Icon_XCI.png b/src/Ryujinx.UI.Common/Resources/Icon_XCI.png
similarity index 100%
rename from src/Ryujinx.Ui.Common/Resources/Icon_XCI.png
rename to src/Ryujinx.UI.Common/Resources/Icon_XCI.png
diff --git a/src/Ryujinx.Ui.Common/Resources/Logo_Amiibo.png b/src/Ryujinx.UI.Common/Resources/Logo_Amiibo.png
similarity index 100%
rename from src/Ryujinx.Ui.Common/Resources/Logo_Amiibo.png
rename to src/Ryujinx.UI.Common/Resources/Logo_Amiibo.png
diff --git a/src/Ryujinx.Ui.Common/Resources/Logo_Discord_Dark.png b/src/Ryujinx.UI.Common/Resources/Logo_Discord_Dark.png
similarity index 100%
rename from src/Ryujinx.Ui.Common/Resources/Logo_Discord_Dark.png
rename to src/Ryujinx.UI.Common/Resources/Logo_Discord_Dark.png
diff --git a/src/Ryujinx.Ui.Common/Resources/Logo_Discord_Light.png b/src/Ryujinx.UI.Common/Resources/Logo_Discord_Light.png
similarity index 100%
rename from src/Ryujinx.Ui.Common/Resources/Logo_Discord_Light.png
rename to src/Ryujinx.UI.Common/Resources/Logo_Discord_Light.png
diff --git a/src/Ryujinx.Ui.Common/Resources/Logo_GitHub_Dark.png b/src/Ryujinx.UI.Common/Resources/Logo_GitHub_Dark.png
similarity index 100%
rename from src/Ryujinx.Ui.Common/Resources/Logo_GitHub_Dark.png
rename to src/Ryujinx.UI.Common/Resources/Logo_GitHub_Dark.png
diff --git a/src/Ryujinx.Ui.Common/Resources/Logo_GitHub_Light.png b/src/Ryujinx.UI.Common/Resources/Logo_GitHub_Light.png
similarity index 100%
rename from src/Ryujinx.Ui.Common/Resources/Logo_GitHub_Light.png
rename to src/Ryujinx.UI.Common/Resources/Logo_GitHub_Light.png
diff --git a/src/Ryujinx.Ui.Common/Resources/Logo_Patreon_Dark.png b/src/Ryujinx.UI.Common/Resources/Logo_Patreon_Dark.png
similarity index 100%
rename from src/Ryujinx.Ui.Common/Resources/Logo_Patreon_Dark.png
rename to src/Ryujinx.UI.Common/Resources/Logo_Patreon_Dark.png
diff --git a/src/Ryujinx.Ui.Common/Resources/Logo_Patreon_Light.png b/src/Ryujinx.UI.Common/Resources/Logo_Patreon_Light.png
similarity index 100%
rename from src/Ryujinx.Ui.Common/Resources/Logo_Patreon_Light.png
rename to src/Ryujinx.UI.Common/Resources/Logo_Patreon_Light.png
diff --git a/src/Ryujinx.Ui.Common/Resources/Logo_Ryujinx.png b/src/Ryujinx.UI.Common/Resources/Logo_Ryujinx.png
similarity index 100%
rename from src/Ryujinx.Ui.Common/Resources/Logo_Ryujinx.png
rename to src/Ryujinx.UI.Common/Resources/Logo_Ryujinx.png
diff --git a/src/Ryujinx.Ui.Common/Resources/Logo_Twitter_Dark.png b/src/Ryujinx.UI.Common/Resources/Logo_Twitter_Dark.png
similarity index 100%
rename from src/Ryujinx.Ui.Common/Resources/Logo_Twitter_Dark.png
rename to src/Ryujinx.UI.Common/Resources/Logo_Twitter_Dark.png
diff --git a/src/Ryujinx.Ui.Common/Resources/Logo_Twitter_Light.png b/src/Ryujinx.UI.Common/Resources/Logo_Twitter_Light.png
similarity index 100%
rename from src/Ryujinx.Ui.Common/Resources/Logo_Twitter_Light.png
rename to src/Ryujinx.UI.Common/Resources/Logo_Twitter_Light.png
diff --git a/src/Ryujinx.Ui.Common/Ryujinx.Ui.Common.csproj b/src/Ryujinx.UI.Common/Ryujinx.UI.Common.csproj
similarity index 100%
rename from src/Ryujinx.Ui.Common/Ryujinx.Ui.Common.csproj
rename to src/Ryujinx.UI.Common/Ryujinx.UI.Common.csproj
diff --git a/src/Ryujinx.Ui.Common/SystemInfo/LinuxSystemInfo.cs b/src/Ryujinx.UI.Common/SystemInfo/LinuxSystemInfo.cs
similarity index 98%
rename from src/Ryujinx.Ui.Common/SystemInfo/LinuxSystemInfo.cs
rename to src/Ryujinx.UI.Common/SystemInfo/LinuxSystemInfo.cs
index 5f1ab5416..c7fe05a09 100644
--- a/src/Ryujinx.Ui.Common/SystemInfo/LinuxSystemInfo.cs
+++ b/src/Ryujinx.UI.Common/SystemInfo/LinuxSystemInfo.cs
@@ -5,7 +5,7 @@ using System.Globalization;
using System.IO;
using System.Runtime.Versioning;
-namespace Ryujinx.Ui.Common.SystemInfo
+namespace Ryujinx.UI.Common.SystemInfo
{
[SupportedOSPlatform("linux")]
class LinuxSystemInfo : SystemInfo
diff --git a/src/Ryujinx.Ui.Common/SystemInfo/MacOSSystemInfo.cs b/src/Ryujinx.UI.Common/SystemInfo/MacOSSystemInfo.cs
similarity index 99%
rename from src/Ryujinx.Ui.Common/SystemInfo/MacOSSystemInfo.cs
rename to src/Ryujinx.UI.Common/SystemInfo/MacOSSystemInfo.cs
index 3508ae3a4..36deaf35f 100644
--- a/src/Ryujinx.Ui.Common/SystemInfo/MacOSSystemInfo.cs
+++ b/src/Ryujinx.UI.Common/SystemInfo/MacOSSystemInfo.cs
@@ -5,7 +5,7 @@ using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using System.Text;
-namespace Ryujinx.Ui.Common.SystemInfo
+namespace Ryujinx.UI.Common.SystemInfo
{
[SupportedOSPlatform("macos")]
partial class MacOSSystemInfo : SystemInfo
diff --git a/src/Ryujinx.Ui.Common/SystemInfo/SystemInfo.cs b/src/Ryujinx.UI.Common/SystemInfo/SystemInfo.cs
similarity index 97%
rename from src/Ryujinx.Ui.Common/SystemInfo/SystemInfo.cs
rename to src/Ryujinx.UI.Common/SystemInfo/SystemInfo.cs
index e78db8af7..38728b9cf 100644
--- a/src/Ryujinx.Ui.Common/SystemInfo/SystemInfo.cs
+++ b/src/Ryujinx.UI.Common/SystemInfo/SystemInfo.cs
@@ -1,11 +1,11 @@
using Ryujinx.Common.Logging;
-using Ryujinx.Ui.Common.Helper;
+using Ryujinx.UI.Common.Helper;
using System;
using System.Runtime.InteropServices;
using System.Runtime.Intrinsics.X86;
using System.Text;
-namespace Ryujinx.Ui.Common.SystemInfo
+namespace Ryujinx.UI.Common.SystemInfo
{
public class SystemInfo
{
diff --git a/src/Ryujinx.Ui.Common/SystemInfo/WindowsSystemInfo.cs b/src/Ryujinx.UI.Common/SystemInfo/WindowsSystemInfo.cs
similarity index 98%
rename from src/Ryujinx.Ui.Common/SystemInfo/WindowsSystemInfo.cs
rename to src/Ryujinx.UI.Common/SystemInfo/WindowsSystemInfo.cs
index 9bb0fbf74..bf49c2a66 100644
--- a/src/Ryujinx.Ui.Common/SystemInfo/WindowsSystemInfo.cs
+++ b/src/Ryujinx.UI.Common/SystemInfo/WindowsSystemInfo.cs
@@ -4,7 +4,7 @@ using System.Management;
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
-namespace Ryujinx.Ui.Common.SystemInfo
+namespace Ryujinx.UI.Common.SystemInfo
{
[SupportedOSPlatform("windows")]
partial class WindowsSystemInfo : SystemInfo
diff --git a/src/Ryujinx.Ui.Common/UserError.cs b/src/Ryujinx.UI.Common/UserError.cs
similarity index 96%
rename from src/Ryujinx.Ui.Common/UserError.cs
rename to src/Ryujinx.UI.Common/UserError.cs
index 832aae9d6..706971efa 100644
--- a/src/Ryujinx.Ui.Common/UserError.cs
+++ b/src/Ryujinx.UI.Common/UserError.cs
@@ -1,4 +1,4 @@
-namespace Ryujinx.Ui.Common
+namespace Ryujinx.UI.Common
{
///
/// Represent a common error that could be reported to the user by the emulator.
diff --git a/src/Ryujinx.Ui.LocaleGenerator/LocaleGenerator.cs b/src/Ryujinx.UI.LocaleGenerator/LocaleGenerator.cs
similarity index 97%
rename from src/Ryujinx.Ui.LocaleGenerator/LocaleGenerator.cs
rename to src/Ryujinx.UI.LocaleGenerator/LocaleGenerator.cs
index 27573a8fb..bb4918d55 100644
--- a/src/Ryujinx.Ui.LocaleGenerator/LocaleGenerator.cs
+++ b/src/Ryujinx.UI.LocaleGenerator/LocaleGenerator.cs
@@ -2,7 +2,7 @@ using Microsoft.CodeAnalysis;
using System.Linq;
using System.Text;
-namespace Ryujinx.Ui.LocaleGenerator
+namespace Ryujinx.UI.LocaleGenerator
{
[Generator]
public class LocaleGenerator : IIncrementalGenerator
diff --git a/src/Ryujinx.Ui.LocaleGenerator/Ryujinx.Ui.LocaleGenerator.csproj b/src/Ryujinx.UI.LocaleGenerator/Ryujinx.UI.LocaleGenerator.csproj
similarity index 100%
rename from src/Ryujinx.Ui.LocaleGenerator/Ryujinx.Ui.LocaleGenerator.csproj
rename to src/Ryujinx.UI.LocaleGenerator/Ryujinx.UI.LocaleGenerator.csproj
diff --git a/src/Ryujinx/Modules/Updater/UpdateDialog.cs b/src/Ryujinx/Modules/Updater/UpdateDialog.cs
index 0057761bb..ec24cdc89 100644
--- a/src/Ryujinx/Modules/Updater/UpdateDialog.cs
+++ b/src/Ryujinx/Modules/Updater/UpdateDialog.cs
@@ -2,9 +2,9 @@ using Gdk;
using Gtk;
using Ryujinx.Common;
using Ryujinx.Common.Configuration;
-using Ryujinx.Ui;
-using Ryujinx.Ui.Common.Configuration;
-using Ryujinx.Ui.Common.Helper;
+using Ryujinx.UI;
+using Ryujinx.UI.Common.Configuration;
+using Ryujinx.UI.Common.Helper;
using System;
using System.Diagnostics;
using System.Reflection;
@@ -34,7 +34,7 @@ namespace Ryujinx.Modules
_mainWindow = mainWindow;
_buildUrl = buildUrl;
- Icon = new Pixbuf(Assembly.GetAssembly(typeof(ConfigurationState)), "Ryujinx.Ui.Common.Resources.Logo_Ryujinx.png");
+ Icon = new Pixbuf(Assembly.GetAssembly(typeof(ConfigurationState)), "Ryujinx.UI.Common.Resources.Logo_Ryujinx.png");
MainText.Text = "Do you want to update Ryujinx to the latest version?";
SecondaryText.Text = $"{Program.Version} -> {newVersion}";
diff --git a/src/Ryujinx/Modules/Updater/Updater.cs b/src/Ryujinx/Modules/Updater/Updater.cs
index 2fed43622..16fbc36ae 100644
--- a/src/Ryujinx/Modules/Updater/Updater.cs
+++ b/src/Ryujinx/Modules/Updater/Updater.cs
@@ -5,9 +5,9 @@ using ICSharpCode.SharpZipLib.Zip;
using Ryujinx.Common;
using Ryujinx.Common.Logging;
using Ryujinx.Common.Utilities;
-using Ryujinx.Ui;
-using Ryujinx.Ui.Common.Models.Github;
-using Ryujinx.Ui.Widgets;
+using Ryujinx.UI;
+using Ryujinx.UI.Common.Models.Github;
+using Ryujinx.UI.Widgets;
using System;
using System.Collections.Generic;
using System.IO;
diff --git a/src/Ryujinx/Program.cs b/src/Ryujinx/Program.cs
index 3b5cd770b..1845c512e 100644
--- a/src/Ryujinx/Program.cs
+++ b/src/Ryujinx/Program.cs
@@ -6,12 +6,12 @@ using Ryujinx.Common.Logging;
using Ryujinx.Common.SystemInterop;
using Ryujinx.Modules;
using Ryujinx.SDL2.Common;
-using Ryujinx.Ui;
-using Ryujinx.Ui.Common;
-using Ryujinx.Ui.Common.Configuration;
-using Ryujinx.Ui.Common.Helper;
-using Ryujinx.Ui.Common.SystemInfo;
-using Ryujinx.Ui.Widgets;
+using Ryujinx.UI;
+using Ryujinx.UI.Common;
+using Ryujinx.UI.Common.Configuration;
+using Ryujinx.UI.Common.Helper;
+using Ryujinx.UI.Common.SystemInfo;
+using Ryujinx.UI.Widgets;
using SixLabors.ImageSharp.Formats.Jpeg;
using System;
using System.Collections.Generic;
diff --git a/src/Ryujinx/Ryujinx.csproj b/src/Ryujinx/Ryujinx.csproj
index 830e0e6c1..68bf98981 100644
--- a/src/Ryujinx/Ryujinx.csproj
+++ b/src/Ryujinx/Ryujinx.csproj
@@ -45,7 +45,7 @@
-
+
@@ -80,24 +80,24 @@
-
-
-
-
-
-
-
+
+
+
+
+
+
+
-
-
-
-
-
-
-
+
+
+
+
+
+
+
diff --git a/src/Ryujinx/Ui/Applet/ErrorAppletDialog.cs b/src/Ryujinx/UI/Applet/ErrorAppletDialog.cs
similarity index 85%
rename from src/Ryujinx/Ui/Applet/ErrorAppletDialog.cs
rename to src/Ryujinx/UI/Applet/ErrorAppletDialog.cs
index c6bcf3f28..7f8cc0e95 100644
--- a/src/Ryujinx/Ui/Applet/ErrorAppletDialog.cs
+++ b/src/Ryujinx/UI/Applet/ErrorAppletDialog.cs
@@ -1,14 +1,14 @@
using Gtk;
-using Ryujinx.Ui.Common.Configuration;
+using Ryujinx.UI.Common.Configuration;
using System.Reflection;
-namespace Ryujinx.Ui.Applet
+namespace Ryujinx.UI.Applet
{
internal class ErrorAppletDialog : MessageDialog
{
public ErrorAppletDialog(Window parentWindow, DialogFlags dialogFlags, MessageType messageType, string[] buttons) : base(parentWindow, dialogFlags, messageType, ButtonsType.None, null)
{
- Icon = new Gdk.Pixbuf(Assembly.GetAssembly(typeof(ConfigurationState)), "Ryujinx.Ui.Common.Resources.Logo_Ryujinx.png");
+ Icon = new Gdk.Pixbuf(Assembly.GetAssembly(typeof(ConfigurationState)), "Ryujinx.UI.Common.Resources.Logo_Ryujinx.png");
int responseId = 0;
diff --git a/src/Ryujinx/Ui/Applet/GtkDynamicTextInputHandler.cs b/src/Ryujinx/UI/Applet/GtkDynamicTextInputHandler.cs
similarity index 97%
rename from src/Ryujinx/Ui/Applet/GtkDynamicTextInputHandler.cs
rename to src/Ryujinx/UI/Applet/GtkDynamicTextInputHandler.cs
index 3a3da4650..0e560b789 100644
--- a/src/Ryujinx/Ui/Applet/GtkDynamicTextInputHandler.cs
+++ b/src/Ryujinx/UI/Applet/GtkDynamicTextInputHandler.cs
@@ -1,10 +1,10 @@
using Gtk;
-using Ryujinx.HLE.Ui;
+using Ryujinx.HLE.UI;
using Ryujinx.Input.GTK3;
-using Ryujinx.Ui.Widgets;
+using Ryujinx.UI.Widgets;
using System.Threading;
-namespace Ryujinx.Ui.Applet
+namespace Ryujinx.UI.Applet
{
///
/// Class that forwards key events to a GTK Entry so they can be processed into text.
diff --git a/src/Ryujinx/Ui/Applet/GtkHostUiHandler.cs b/src/Ryujinx/UI/Applet/GtkHostUIHandler.cs
similarity index 93%
rename from src/Ryujinx/Ui/Applet/GtkHostUiHandler.cs
rename to src/Ryujinx/UI/Applet/GtkHostUIHandler.cs
index 241e5e6cf..1d918d21b 100644
--- a/src/Ryujinx/Ui/Applet/GtkHostUiHandler.cs
+++ b/src/Ryujinx/UI/Applet/GtkHostUIHandler.cs
@@ -1,27 +1,27 @@
using Gtk;
using Ryujinx.HLE.HOS.Applets;
using Ryujinx.HLE.HOS.Services.Am.AppletOE.ApplicationProxyService.ApplicationProxy.Types;
-using Ryujinx.HLE.Ui;
-using Ryujinx.Ui.Widgets;
+using Ryujinx.HLE.UI;
+using Ryujinx.UI.Widgets;
using System;
using System.Threading;
-namespace Ryujinx.Ui.Applet
+namespace Ryujinx.UI.Applet
{
- internal class GtkHostUiHandler : IHostUiHandler
+ internal class GtkHostUIHandler : IHostUIHandler
{
private readonly Window _parent;
- public IHostUiTheme HostUiTheme { get; }
+ public IHostUITheme HostUITheme { get; }
- public GtkHostUiHandler(Window parent)
+ public GtkHostUIHandler(Window parent)
{
_parent = parent;
- HostUiTheme = new GtkHostUiTheme(parent);
+ HostUITheme = new GtkHostUITheme(parent);
}
- public bool DisplayMessageDialog(ControllerAppletUiArgs args)
+ public bool DisplayMessageDialog(ControllerAppletUIArgs args)
{
string playerCount = args.PlayerCountMin == args.PlayerCountMax ? $"exactly {args.PlayerCountMin}" : $"{args.PlayerCountMin}-{args.PlayerCountMax}";
@@ -81,7 +81,7 @@ namespace Ryujinx.Ui.Applet
return okPressed;
}
- public bool DisplayInputDialog(SoftwareKeyboardUiArgs args, out string userText)
+ public bool DisplayInputDialog(SoftwareKeyboardUIArgs args, out string userText)
{
ManualResetEvent dialogCloseEvent = new(false);
diff --git a/src/Ryujinx/Ui/Applet/GtkHostUiTheme.cs b/src/Ryujinx/UI/Applet/GtkHostUITheme.cs
similarity index 96%
rename from src/Ryujinx/Ui/Applet/GtkHostUiTheme.cs
rename to src/Ryujinx/UI/Applet/GtkHostUITheme.cs
index 1bc010591..52d1123bb 100644
--- a/src/Ryujinx/Ui/Applet/GtkHostUiTheme.cs
+++ b/src/Ryujinx/UI/Applet/GtkHostUITheme.cs
@@ -1,10 +1,10 @@
using Gtk;
-using Ryujinx.HLE.Ui;
+using Ryujinx.HLE.UI;
using System.Diagnostics;
-namespace Ryujinx.Ui.Applet
+namespace Ryujinx.UI.Applet
{
- internal class GtkHostUiTheme : IHostUiTheme
+ internal class GtkHostUITheme : IHostUITheme
{
private const int RenderSurfaceWidth = 32;
private const int RenderSurfaceHeight = 32;
@@ -17,7 +17,7 @@ namespace Ryujinx.Ui.Applet
public ThemeColor SelectionBackgroundColor { get; }
public ThemeColor SelectionForegroundColor { get; }
- public GtkHostUiTheme(Window parent)
+ public GtkHostUITheme(Window parent)
{
Entry entry = new();
entry.SetStateFlags(StateFlags.Selected, true);
diff --git a/src/Ryujinx/Ui/Applet/SwkbdAppletDialog.cs b/src/Ryujinx/UI/Applet/SwkbdAppletDialog.cs
similarity index 99%
rename from src/Ryujinx/Ui/Applet/SwkbdAppletDialog.cs
rename to src/Ryujinx/UI/Applet/SwkbdAppletDialog.cs
index c1f3d77c1..8045da91e 100644
--- a/src/Ryujinx/Ui/Applet/SwkbdAppletDialog.cs
+++ b/src/Ryujinx/UI/Applet/SwkbdAppletDialog.cs
@@ -3,7 +3,7 @@ using Ryujinx.HLE.HOS.Applets.SoftwareKeyboard;
using System;
using System.Linq;
-namespace Ryujinx.Ui.Applet
+namespace Ryujinx.UI.Applet
{
public class SwkbdAppletDialog : MessageDialog
{
diff --git a/src/Ryujinx/Ui/Helper/MetalHelper.cs b/src/Ryujinx/UI/Helper/MetalHelper.cs
similarity index 99%
rename from src/Ryujinx/Ui/Helper/MetalHelper.cs
rename to src/Ryujinx/UI/Helper/MetalHelper.cs
index a7af2aed2..c2c32d3ae 100644
--- a/src/Ryujinx/Ui/Helper/MetalHelper.cs
+++ b/src/Ryujinx/UI/Helper/MetalHelper.cs
@@ -3,7 +3,7 @@ using System;
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
-namespace Ryujinx.Ui.Helper
+namespace Ryujinx.UI.Helper
{
public delegate void UpdateBoundsCallbackDelegate(Window window);
diff --git a/src/Ryujinx/Ui/Helper/SortHelper.cs b/src/Ryujinx/UI/Helper/SortHelper.cs
similarity index 94%
rename from src/Ryujinx/Ui/Helper/SortHelper.cs
rename to src/Ryujinx/UI/Helper/SortHelper.cs
index 4e625f922..3e3fbeaae 100644
--- a/src/Ryujinx/Ui/Helper/SortHelper.cs
+++ b/src/Ryujinx/UI/Helper/SortHelper.cs
@@ -1,8 +1,8 @@
using Gtk;
-using Ryujinx.Ui.Common.Helper;
+using Ryujinx.UI.Common.Helper;
using System;
-namespace Ryujinx.Ui.Helper
+namespace Ryujinx.UI.Helper
{
static class SortHelper
{
diff --git a/src/Ryujinx/Ui/Helper/ThemeHelper.cs b/src/Ryujinx/UI/Helper/ThemeHelper.cs
similarity index 66%
rename from src/Ryujinx/Ui/Helper/ThemeHelper.cs
rename to src/Ryujinx/UI/Helper/ThemeHelper.cs
index 5cd9ad520..e1fed1c4d 100644
--- a/src/Ryujinx/Ui/Helper/ThemeHelper.cs
+++ b/src/Ryujinx/UI/Helper/ThemeHelper.cs
@@ -1,34 +1,34 @@
using Gtk;
using Ryujinx.Common;
using Ryujinx.Common.Logging;
-using Ryujinx.Ui.Common.Configuration;
+using Ryujinx.UI.Common.Configuration;
using System.IO;
-namespace Ryujinx.Ui.Helper
+namespace Ryujinx.UI.Helper
{
static class ThemeHelper
{
public static void ApplyTheme()
{
- if (!ConfigurationState.Instance.Ui.EnableCustomTheme)
+ if (!ConfigurationState.Instance.UI.EnableCustomTheme)
{
return;
}
- if (File.Exists(ConfigurationState.Instance.Ui.CustomThemePath) && (Path.GetExtension(ConfigurationState.Instance.Ui.CustomThemePath) == ".css"))
+ if (File.Exists(ConfigurationState.Instance.UI.CustomThemePath) && (Path.GetExtension(ConfigurationState.Instance.UI.CustomThemePath) == ".css"))
{
CssProvider cssProvider = new();
- cssProvider.LoadFromPath(ConfigurationState.Instance.Ui.CustomThemePath);
+ cssProvider.LoadFromPath(ConfigurationState.Instance.UI.CustomThemePath);
StyleContext.AddProviderForScreen(Gdk.Screen.Default, cssProvider, 800);
}
else
{
- Logger.Warning?.Print(LogClass.Application, $"The \"custom_theme_path\" section in \"{ReleaseInformation.ConfigName}\" contains an invalid path: \"{ConfigurationState.Instance.Ui.CustomThemePath}\".");
+ Logger.Warning?.Print(LogClass.Application, $"The \"custom_theme_path\" section in \"{ReleaseInformation.ConfigName}\" contains an invalid path: \"{ConfigurationState.Instance.UI.CustomThemePath}\".");
- ConfigurationState.Instance.Ui.CustomThemePath.Value = "";
- ConfigurationState.Instance.Ui.EnableCustomTheme.Value = false;
+ ConfigurationState.Instance.UI.CustomThemePath.Value = "";
+ ConfigurationState.Instance.UI.EnableCustomTheme.Value = false;
ConfigurationState.Instance.ToFileFormat().SaveConfig(Program.ConfigurationPath);
}
}
diff --git a/src/Ryujinx/Ui/MainWindow.cs b/src/Ryujinx/UI/MainWindow.cs
similarity index 93%
rename from src/Ryujinx/Ui/MainWindow.cs
rename to src/Ryujinx/UI/MainWindow.cs
index 8bfe09cf1..2908f1a8d 100644
--- a/src/Ryujinx/Ui/MainWindow.cs
+++ b/src/Ryujinx/UI/MainWindow.cs
@@ -26,14 +26,14 @@ using Ryujinx.Input.GTK3;
using Ryujinx.Input.HLE;
using Ryujinx.Input.SDL2;
using Ryujinx.Modules;
-using Ryujinx.Ui.App.Common;
-using Ryujinx.Ui.Applet;
-using Ryujinx.Ui.Common;
-using Ryujinx.Ui.Common.Configuration;
-using Ryujinx.Ui.Common.Helper;
-using Ryujinx.Ui.Helper;
-using Ryujinx.Ui.Widgets;
-using Ryujinx.Ui.Windows;
+using Ryujinx.UI.App.Common;
+using Ryujinx.UI.Applet;
+using Ryujinx.UI.Common;
+using Ryujinx.UI.Common.Configuration;
+using Ryujinx.UI.Common.Helper;
+using Ryujinx.UI.Helper;
+using Ryujinx.UI.Widgets;
+using Ryujinx.UI.Windows;
using Silk.NET.Vulkan;
using SPB.Graphics.Vulkan;
using System;
@@ -45,7 +45,7 @@ using System.Threading.Tasks;
using GUI = Gtk.Builder.ObjectAttribute;
using ShaderCacheLoadingState = Ryujinx.Graphics.Gpu.Shader.ShaderCacheState;
-namespace Ryujinx.Ui
+namespace Ryujinx.UI
{
public class MainWindow : Window
{
@@ -61,7 +61,7 @@ namespace Ryujinx.Ui
private WindowsMultimediaTimerResolution _windowsMultimediaTimerResolution;
private readonly ApplicationLibrary _applicationLibrary;
- private readonly GtkHostUiHandler _uiHandler;
+ private readonly GtkHostUIHandler _uiHandler;
private readonly AutoResetEvent _deviceExitStatus;
private readonly ListStore _tableStore;
@@ -99,7 +99,7 @@ namespace Ryujinx.Ui
[GUI] MenuItem _simulateWakeUpMessage;
[GUI] MenuItem _scanAmiibo;
[GUI] MenuItem _takeScreenshot;
- [GUI] MenuItem _hideUi;
+ [GUI] MenuItem _hideUI;
[GUI] MenuItem _fullScreen;
[GUI] CheckMenuItem _startFullScreen;
[GUI] CheckMenuItem _showConsole;
@@ -143,7 +143,7 @@ namespace Ryujinx.Ui
#pragma warning restore CS0649, IDE0044, CS0169, IDE0051
- public MainWindow() : this(new Builder("Ryujinx.Ui.MainWindow.glade")) { }
+ public MainWindow() : this(new Builder("Ryujinx.UI.MainWindow.glade")) { }
private MainWindow(Builder builder) : base(builder.GetRawOwnedObject("_mainWin"))
{
@@ -154,7 +154,7 @@ namespace Ryujinx.Ui
SetWindowSizePosition();
- Icon = new Gdk.Pixbuf(Assembly.GetAssembly(typeof(ConfigurationState)), "Ryujinx.Ui.Common.Resources.Logo_Ryujinx.png");
+ Icon = new Gdk.Pixbuf(Assembly.GetAssembly(typeof(ConfigurationState)), "Ryujinx.UI.Common.Resources.Logo_Ryujinx.png");
Title = $"Ryujinx {Program.Version}";
// Hide emulation context status bar.
@@ -182,7 +182,7 @@ namespace Ryujinx.Ui
// Instantiate GUI objects.
_applicationLibrary = new ApplicationLibrary(_virtualFileSystem);
- _uiHandler = new GtkHostUiHandler(this);
+ _uiHandler = new GtkHostUIHandler(this);
_deviceExitStatus = new AutoResetEvent(false);
WindowStateEvent += WindowStateEvent_Changed;
@@ -210,24 +210,24 @@ namespace Ryujinx.Ui
ConfigurationState.Instance.Multiplayer.Mode.Event += UpdateMultiplayerMode;
ConfigurationState.Instance.Multiplayer.LanInterfaceId.Event += UpdateMultiplayerLanInterfaceId;
- if (ConfigurationState.Instance.Ui.StartFullscreen)
+ if (ConfigurationState.Instance.UI.StartFullscreen)
{
_startFullScreen.Active = true;
}
- _showConsole.Active = ConfigurationState.Instance.Ui.ShowConsole.Value;
+ _showConsole.Active = ConfigurationState.Instance.UI.ShowConsole.Value;
_showConsole.Visible = ConsoleHelper.SetConsoleWindowStateSupported;
_actionMenu.Sensitive = false;
_pauseEmulation.Sensitive = false;
_resumeEmulation.Sensitive = false;
- _nspShown.Active = ConfigurationState.Instance.Ui.ShownFileTypes.NSP.Value;
- _pfs0Shown.Active = ConfigurationState.Instance.Ui.ShownFileTypes.PFS0.Value;
- _xciShown.Active = ConfigurationState.Instance.Ui.ShownFileTypes.XCI.Value;
- _ncaShown.Active = ConfigurationState.Instance.Ui.ShownFileTypes.NCA.Value;
- _nroShown.Active = ConfigurationState.Instance.Ui.ShownFileTypes.NRO.Value;
- _nsoShown.Active = ConfigurationState.Instance.Ui.ShownFileTypes.NSO.Value;
+ _nspShown.Active = ConfigurationState.Instance.UI.ShownFileTypes.NSP.Value;
+ _pfs0Shown.Active = ConfigurationState.Instance.UI.ShownFileTypes.PFS0.Value;
+ _xciShown.Active = ConfigurationState.Instance.UI.ShownFileTypes.XCI.Value;
+ _ncaShown.Active = ConfigurationState.Instance.UI.ShownFileTypes.NCA.Value;
+ _nroShown.Active = ConfigurationState.Instance.UI.ShownFileTypes.NRO.Value;
+ _nsoShown.Active = ConfigurationState.Instance.UI.ShownFileTypes.NSO.Value;
_nspShown.Toggled += NSP_Shown_Toggled;
_pfs0Shown.Toggled += PFS0_Shown_Toggled;
@@ -238,43 +238,43 @@ namespace Ryujinx.Ui
_fileTypesSubMenu.Visible = FileAssociationHelper.IsTypeAssociationSupported;
- if (ConfigurationState.Instance.Ui.GuiColumns.FavColumn)
+ if (ConfigurationState.Instance.UI.GuiColumns.FavColumn)
{
_favToggle.Active = true;
}
- if (ConfigurationState.Instance.Ui.GuiColumns.IconColumn)
+ if (ConfigurationState.Instance.UI.GuiColumns.IconColumn)
{
_iconToggle.Active = true;
}
- if (ConfigurationState.Instance.Ui.GuiColumns.AppColumn)
+ if (ConfigurationState.Instance.UI.GuiColumns.AppColumn)
{
_appToggle.Active = true;
}
- if (ConfigurationState.Instance.Ui.GuiColumns.DevColumn)
+ if (ConfigurationState.Instance.UI.GuiColumns.DevColumn)
{
_developerToggle.Active = true;
}
- if (ConfigurationState.Instance.Ui.GuiColumns.VersionColumn)
+ if (ConfigurationState.Instance.UI.GuiColumns.VersionColumn)
{
_versionToggle.Active = true;
}
- if (ConfigurationState.Instance.Ui.GuiColumns.TimePlayedColumn)
+ if (ConfigurationState.Instance.UI.GuiColumns.TimePlayedColumn)
{
_timePlayedToggle.Active = true;
}
- if (ConfigurationState.Instance.Ui.GuiColumns.LastPlayedColumn)
+ if (ConfigurationState.Instance.UI.GuiColumns.LastPlayedColumn)
{
_lastPlayedToggle.Active = true;
}
- if (ConfigurationState.Instance.Ui.GuiColumns.FileExtColumn)
+ if (ConfigurationState.Instance.UI.GuiColumns.FileExtColumn)
{
_fileExtToggle.Active = true;
}
- if (ConfigurationState.Instance.Ui.GuiColumns.FileSizeColumn)
+ if (ConfigurationState.Instance.UI.GuiColumns.FileSizeColumn)
{
_fileSizeToggle.Active = true;
}
- if (ConfigurationState.Instance.Ui.GuiColumns.PathColumn)
+ if (ConfigurationState.Instance.UI.GuiColumns.PathColumn)
{
_pathToggle.Active = true;
}
@@ -307,8 +307,8 @@ namespace Ryujinx.Ui
_tableStore.SetSortFunc(6, SortHelper.LastPlayedSort);
_tableStore.SetSortFunc(8, SortHelper.FileSizeSort);
- int columnId = ConfigurationState.Instance.Ui.ColumnSort.SortColumnId;
- bool ascending = ConfigurationState.Instance.Ui.ColumnSort.SortAscending;
+ int columnId = ConfigurationState.Instance.UI.ColumnSort.SortColumnId;
+ bool ascending = ConfigurationState.Instance.UI.ColumnSort.SortAscending;
_tableStore.SetSortColumnId(columnId, ascending ? SortType.Ascending : SortType.Descending);
@@ -316,12 +316,12 @@ namespace Ryujinx.Ui
_gameTable.SearchColumn = 2;
_gameTable.SearchEqualFunc = (model, col, key, iter) => !((string)model.GetValue(iter, col)).Contains(key, StringComparison.InvariantCultureIgnoreCase);
- _hideUi.Label = _hideUi.Label.Replace("SHOWUIKEY", ConfigurationState.Instance.Hid.Hotkeys.Value.ShowUi.ToString());
+ _hideUI.Label = _hideUI.Label.Replace("SHOWUIKEY", ConfigurationState.Instance.Hid.Hotkeys.Value.ShowUI.ToString());
UpdateColumns();
UpdateGameTable();
- ConfigurationState.Instance.Ui.GameDirs.Event += (sender, args) =>
+ ConfigurationState.Instance.UI.GameDirs.Event += (sender, args) =>
{
if (args.OldValue != args.NewValue)
{
@@ -401,43 +401,43 @@ namespace Ryujinx.Ui
CellRendererToggle favToggle = new();
favToggle.Toggled += FavToggle_Toggled;
- if (ConfigurationState.Instance.Ui.GuiColumns.FavColumn)
+ if (ConfigurationState.Instance.UI.GuiColumns.FavColumn)
{
_gameTable.AppendColumn("Fav", favToggle, "active", 0);
}
- if (ConfigurationState.Instance.Ui.GuiColumns.IconColumn)
+ if (ConfigurationState.Instance.UI.GuiColumns.IconColumn)
{
_gameTable.AppendColumn("Icon", new CellRendererPixbuf(), "pixbuf", 1);
}
- if (ConfigurationState.Instance.Ui.GuiColumns.AppColumn)
+ if (ConfigurationState.Instance.UI.GuiColumns.AppColumn)
{
_gameTable.AppendColumn("Application", new CellRendererText(), "text", 2);
}
- if (ConfigurationState.Instance.Ui.GuiColumns.DevColumn)
+ if (ConfigurationState.Instance.UI.GuiColumns.DevColumn)
{
_gameTable.AppendColumn("Developer", new CellRendererText(), "text", 3);
}
- if (ConfigurationState.Instance.Ui.GuiColumns.VersionColumn)
+ if (ConfigurationState.Instance.UI.GuiColumns.VersionColumn)
{
_gameTable.AppendColumn("Version", new CellRendererText(), "text", 4);
}
- if (ConfigurationState.Instance.Ui.GuiColumns.TimePlayedColumn)
+ if (ConfigurationState.Instance.UI.GuiColumns.TimePlayedColumn)
{
_gameTable.AppendColumn("Time Played", new CellRendererText(), "text", 5);
}
- if (ConfigurationState.Instance.Ui.GuiColumns.LastPlayedColumn)
+ if (ConfigurationState.Instance.UI.GuiColumns.LastPlayedColumn)
{
_gameTable.AppendColumn("Last Played", new CellRendererText(), "text", 6);
}
- if (ConfigurationState.Instance.Ui.GuiColumns.FileExtColumn)
+ if (ConfigurationState.Instance.UI.GuiColumns.FileExtColumn)
{
_gameTable.AppendColumn("File Ext", new CellRendererText(), "text", 7);
}
- if (ConfigurationState.Instance.Ui.GuiColumns.FileSizeColumn)
+ if (ConfigurationState.Instance.UI.GuiColumns.FileSizeColumn)
{
_gameTable.AppendColumn("File Size", new CellRendererText(), "text", 8);
}
- if (ConfigurationState.Instance.Ui.GuiColumns.PathColumn)
+ if (ConfigurationState.Instance.UI.GuiColumns.PathColumn)
{
_gameTable.AppendColumn("Path", new CellRendererText(), "text", 9);
}
@@ -679,7 +679,7 @@ namespace Ryujinx.Ui
return new SurfaceKHR((ulong)((VulkanRenderer)RendererWidget).CreateWindowSurface(instance.Handle));
}
- private void SetupProgressUiHandlers()
+ private void SetupProgressUIHandlers()
{
if (_emulationContext.Processes.ActiveApplication.DiskCacheLoadState != null)
{
@@ -732,7 +732,7 @@ namespace Ryujinx.Ui
Thread applicationLibraryThread = new(() =>
{
- _applicationLibrary.LoadApplications(ConfigurationState.Instance.Ui.GameDirs, ConfigurationState.Instance.System.Language);
+ _applicationLibrary.LoadApplications(ConfigurationState.Instance.UI.GameDirs, ConfigurationState.Instance.System.Language);
_updatingGameTable = false;
})
@@ -924,7 +924,7 @@ namespace Ryujinx.Ui
return;
}
- SetupProgressUiHandlers();
+ SetupProgressUIHandlers();
_currentEmulatedGamePath = path;
@@ -981,7 +981,7 @@ namespace Ryujinx.Ui
{
ToggleExtraWidgets(false);
}
- else if (startFullscreen || ConfigurationState.Instance.Ui.StartFullscreen.Value)
+ else if (startFullscreen || ConfigurationState.Instance.UI.StartFullscreen.Value)
{
FullScreen_Toggled(null, null);
}
@@ -1243,8 +1243,8 @@ namespace Ryujinx.Ui
{
TreeViewColumn column = (TreeViewColumn)sender;
- ConfigurationState.Instance.Ui.ColumnSort.SortColumnId.Value = column.SortColumnId;
- ConfigurationState.Instance.Ui.ColumnSort.SortAscending.Value = column.SortOrder == SortType.Ascending;
+ ConfigurationState.Instance.UI.ColumnSort.SortColumnId.Value = column.SortColumnId;
+ ConfigurationState.Instance.UI.ColumnSort.SortAscending.Value = column.SortOrder == SortType.Ascending;
SaveConfig();
}
@@ -1407,12 +1407,12 @@ namespace Ryujinx.Ui
private void SetWindowSizePosition()
{
- DefaultWidth = ConfigurationState.Instance.Ui.WindowStartup.WindowSizeWidth;
- DefaultHeight = ConfigurationState.Instance.Ui.WindowStartup.WindowSizeHeight;
+ DefaultWidth = ConfigurationState.Instance.UI.WindowStartup.WindowSizeWidth;
+ DefaultHeight = ConfigurationState.Instance.UI.WindowStartup.WindowSizeHeight;
- Move(ConfigurationState.Instance.Ui.WindowStartup.WindowPositionX, ConfigurationState.Instance.Ui.WindowStartup.WindowPositionY);
+ Move(ConfigurationState.Instance.UI.WindowStartup.WindowPositionX, ConfigurationState.Instance.UI.WindowStartup.WindowPositionY);
- if (ConfigurationState.Instance.Ui.WindowStartup.WindowMaximized)
+ if (ConfigurationState.Instance.UI.WindowStartup.WindowMaximized)
{
Maximize();
}
@@ -1423,11 +1423,11 @@ namespace Ryujinx.Ui
GetSize(out int windowWidth, out int windowHeight);
GetPosition(out int windowXPos, out int windowYPos);
- ConfigurationState.Instance.Ui.WindowStartup.WindowMaximized.Value = IsMaximized;
- ConfigurationState.Instance.Ui.WindowStartup.WindowSizeWidth.Value = windowWidth;
- ConfigurationState.Instance.Ui.WindowStartup.WindowSizeHeight.Value = windowHeight;
- ConfigurationState.Instance.Ui.WindowStartup.WindowPositionX.Value = windowXPos;
- ConfigurationState.Instance.Ui.WindowStartup.WindowPositionY.Value = windowYPos;
+ ConfigurationState.Instance.UI.WindowStartup.WindowMaximized.Value = IsMaximized;
+ ConfigurationState.Instance.UI.WindowStartup.WindowSizeWidth.Value = windowWidth;
+ ConfigurationState.Instance.UI.WindowStartup.WindowSizeHeight.Value = windowHeight;
+ ConfigurationState.Instance.UI.WindowStartup.WindowPositionX.Value = windowXPos;
+ ConfigurationState.Instance.UI.WindowStartup.WindowPositionY.Value = windowYPos;
SaveConfig();
}
@@ -1677,14 +1677,14 @@ namespace Ryujinx.Ui
private void StartFullScreen_Toggled(object sender, EventArgs args)
{
- ConfigurationState.Instance.Ui.StartFullscreen.Value = _startFullScreen.Active;
+ ConfigurationState.Instance.UI.StartFullscreen.Value = _startFullScreen.Active;
SaveConfig();
}
private void ShowConsole_Toggled(object sender, EventArgs args)
{
- ConfigurationState.Instance.Ui.ShowConsole.Value = _showConsole.Active;
+ ConfigurationState.Instance.UI.ShowConsole.Value = _showConsole.Active;
SaveConfig();
}
@@ -1702,7 +1702,7 @@ namespace Ryujinx.Ui
settingsWindow.Show();
}
- private void HideUi_Pressed(object sender, EventArgs args)
+ private void HideUI_Pressed(object sender, EventArgs args)
{
ToggleExtraWidgets(false);
}
@@ -1807,7 +1807,7 @@ namespace Ryujinx.Ui
private void Fav_Toggled(object sender, EventArgs args)
{
- ConfigurationState.Instance.Ui.GuiColumns.FavColumn.Value = _favToggle.Active;
+ ConfigurationState.Instance.UI.GuiColumns.FavColumn.Value = _favToggle.Active;
SaveConfig();
UpdateColumns();
@@ -1815,7 +1815,7 @@ namespace Ryujinx.Ui
private void Icon_Toggled(object sender, EventArgs args)
{
- ConfigurationState.Instance.Ui.GuiColumns.IconColumn.Value = _iconToggle.Active;
+ ConfigurationState.Instance.UI.GuiColumns.IconColumn.Value = _iconToggle.Active;
SaveConfig();
UpdateColumns();
@@ -1823,7 +1823,7 @@ namespace Ryujinx.Ui
private void App_Toggled(object sender, EventArgs args)
{
- ConfigurationState.Instance.Ui.GuiColumns.AppColumn.Value = _appToggle.Active;
+ ConfigurationState.Instance.UI.GuiColumns.AppColumn.Value = _appToggle.Active;
SaveConfig();
UpdateColumns();
@@ -1831,7 +1831,7 @@ namespace Ryujinx.Ui
private void Developer_Toggled(object sender, EventArgs args)
{
- ConfigurationState.Instance.Ui.GuiColumns.DevColumn.Value = _developerToggle.Active;
+ ConfigurationState.Instance.UI.GuiColumns.DevColumn.Value = _developerToggle.Active;
SaveConfig();
UpdateColumns();
@@ -1839,7 +1839,7 @@ namespace Ryujinx.Ui
private void Version_Toggled(object sender, EventArgs args)
{
- ConfigurationState.Instance.Ui.GuiColumns.VersionColumn.Value = _versionToggle.Active;
+ ConfigurationState.Instance.UI.GuiColumns.VersionColumn.Value = _versionToggle.Active;
SaveConfig();
UpdateColumns();
@@ -1847,7 +1847,7 @@ namespace Ryujinx.Ui
private void TimePlayed_Toggled(object sender, EventArgs args)
{
- ConfigurationState.Instance.Ui.GuiColumns.TimePlayedColumn.Value = _timePlayedToggle.Active;
+ ConfigurationState.Instance.UI.GuiColumns.TimePlayedColumn.Value = _timePlayedToggle.Active;
SaveConfig();
UpdateColumns();
@@ -1855,7 +1855,7 @@ namespace Ryujinx.Ui
private void LastPlayed_Toggled(object sender, EventArgs args)
{
- ConfigurationState.Instance.Ui.GuiColumns.LastPlayedColumn.Value = _lastPlayedToggle.Active;
+ ConfigurationState.Instance.UI.GuiColumns.LastPlayedColumn.Value = _lastPlayedToggle.Active;
SaveConfig();
UpdateColumns();
@@ -1863,7 +1863,7 @@ namespace Ryujinx.Ui
private void FileExt_Toggled(object sender, EventArgs args)
{
- ConfigurationState.Instance.Ui.GuiColumns.FileExtColumn.Value = _fileExtToggle.Active;
+ ConfigurationState.Instance.UI.GuiColumns.FileExtColumn.Value = _fileExtToggle.Active;
SaveConfig();
UpdateColumns();
@@ -1871,7 +1871,7 @@ namespace Ryujinx.Ui
private void FileSize_Toggled(object sender, EventArgs args)
{
- ConfigurationState.Instance.Ui.GuiColumns.FileSizeColumn.Value = _fileSizeToggle.Active;
+ ConfigurationState.Instance.UI.GuiColumns.FileSizeColumn.Value = _fileSizeToggle.Active;
SaveConfig();
UpdateColumns();
@@ -1879,7 +1879,7 @@ namespace Ryujinx.Ui
private void Path_Toggled(object sender, EventArgs args)
{
- ConfigurationState.Instance.Ui.GuiColumns.PathColumn.Value = _pathToggle.Active;
+ ConfigurationState.Instance.UI.GuiColumns.PathColumn.Value = _pathToggle.Active;
SaveConfig();
UpdateColumns();
@@ -1887,7 +1887,7 @@ namespace Ryujinx.Ui
private void NSP_Shown_Toggled(object sender, EventArgs args)
{
- ConfigurationState.Instance.Ui.ShownFileTypes.NSP.Value = _nspShown.Active;
+ ConfigurationState.Instance.UI.ShownFileTypes.NSP.Value = _nspShown.Active;
SaveConfig();
UpdateGameTable();
@@ -1895,7 +1895,7 @@ namespace Ryujinx.Ui
private void PFS0_Shown_Toggled(object sender, EventArgs args)
{
- ConfigurationState.Instance.Ui.ShownFileTypes.PFS0.Value = _pfs0Shown.Active;
+ ConfigurationState.Instance.UI.ShownFileTypes.PFS0.Value = _pfs0Shown.Active;
SaveConfig();
UpdateGameTable();
@@ -1903,7 +1903,7 @@ namespace Ryujinx.Ui
private void XCI_Shown_Toggled(object sender, EventArgs args)
{
- ConfigurationState.Instance.Ui.ShownFileTypes.XCI.Value = _xciShown.Active;
+ ConfigurationState.Instance.UI.ShownFileTypes.XCI.Value = _xciShown.Active;
SaveConfig();
UpdateGameTable();
@@ -1911,7 +1911,7 @@ namespace Ryujinx.Ui
private void NCA_Shown_Toggled(object sender, EventArgs args)
{
- ConfigurationState.Instance.Ui.ShownFileTypes.NCA.Value = _ncaShown.Active;
+ ConfigurationState.Instance.UI.ShownFileTypes.NCA.Value = _ncaShown.Active;
SaveConfig();
UpdateGameTable();
@@ -1919,7 +1919,7 @@ namespace Ryujinx.Ui
private void NRO_Shown_Toggled(object sender, EventArgs args)
{
- ConfigurationState.Instance.Ui.ShownFileTypes.NRO.Value = _nroShown.Active;
+ ConfigurationState.Instance.UI.ShownFileTypes.NRO.Value = _nroShown.Active;
SaveConfig();
UpdateGameTable();
@@ -1927,7 +1927,7 @@ namespace Ryujinx.Ui
private void NSO_Shown_Toggled(object sender, EventArgs args)
{
- ConfigurationState.Instance.Ui.ShownFileTypes.NSO.Value = _nsoShown.Active;
+ ConfigurationState.Instance.UI.ShownFileTypes.NSO.Value = _nsoShown.Active;
SaveConfig();
UpdateGameTable();
diff --git a/src/Ryujinx/Ui/MainWindow.glade b/src/Ryujinx/UI/MainWindow.glade
similarity index 99%
rename from src/Ryujinx/Ui/MainWindow.glade
rename to src/Ryujinx/UI/MainWindow.glade
index 58d5d9558..d1b6872a9 100644
--- a/src/Ryujinx/Ui/MainWindow.glade
+++ b/src/Ryujinx/UI/MainWindow.glade
@@ -437,12 +437,12 @@
-
diff --git a/src/Ryujinx/Ui/OpenGLRenderer.cs b/src/Ryujinx/UI/OpenGLRenderer.cs
similarity index 96%
rename from src/Ryujinx/Ui/OpenGLRenderer.cs
rename to src/Ryujinx/UI/OpenGLRenderer.cs
index d10445b00..1fdabc754 100644
--- a/src/Ryujinx/Ui/OpenGLRenderer.cs
+++ b/src/Ryujinx/UI/OpenGLRenderer.cs
@@ -12,7 +12,7 @@ using SPB.Windowing;
using System;
using System.Runtime.InteropServices;
-namespace Ryujinx.Ui
+namespace Ryujinx.UI
{
public partial class OpenGLRenderer : RendererWidgetBase
{
@@ -120,7 +120,7 @@ namespace Ryujinx.Ui
}
catch (ContextException e)
{
- Logger.Warning?.Print(LogClass.Ui, $"Failed to bind OpenGL context: {e}");
+ Logger.Warning?.Print(LogClass.UI, $"Failed to bind OpenGL context: {e}");
}
Device?.DisposeGpu();
@@ -133,7 +133,7 @@ namespace Ryujinx.Ui
}
catch (ContextException e)
{
- Logger.Warning?.Print(LogClass.Ui, $"Failed to unbind OpenGL context: {e}");
+ Logger.Warning?.Print(LogClass.UI, $"Failed to unbind OpenGL context: {e}");
}
_openGLContext?.Dispose();
diff --git a/src/Ryujinx/Ui/OpenToolkitBindingsContext.cs b/src/Ryujinx/UI/OpenToolkitBindingsContext.cs
similarity index 95%
rename from src/Ryujinx/Ui/OpenToolkitBindingsContext.cs
rename to src/Ryujinx/UI/OpenToolkitBindingsContext.cs
index 49dd5da8e..1224ccfe0 100644
--- a/src/Ryujinx/Ui/OpenToolkitBindingsContext.cs
+++ b/src/Ryujinx/UI/OpenToolkitBindingsContext.cs
@@ -1,7 +1,7 @@
using SPB.Graphics;
using System;
-namespace Ryujinx.Ui
+namespace Ryujinx.UI
{
public class OpenToolkitBindingsContext : OpenTK.IBindingsContext
{
diff --git a/src/Ryujinx/Ui/RendererWidgetBase.cs b/src/Ryujinx/UI/RendererWidgetBase.cs
similarity index 99%
rename from src/Ryujinx/Ui/RendererWidgetBase.cs
rename to src/Ryujinx/UI/RendererWidgetBase.cs
index 7794e0448..e27d06044 100644
--- a/src/Ryujinx/Ui/RendererWidgetBase.cs
+++ b/src/Ryujinx/UI/RendererWidgetBase.cs
@@ -9,9 +9,9 @@ using Ryujinx.Graphics.Gpu;
using Ryujinx.Input;
using Ryujinx.Input.GTK3;
using Ryujinx.Input.HLE;
-using Ryujinx.Ui.Common.Configuration;
-using Ryujinx.Ui.Common.Helper;
-using Ryujinx.Ui.Widgets;
+using Ryujinx.UI.Common.Configuration;
+using Ryujinx.UI.Common.Helper;
+using Ryujinx.UI.Widgets;
using SixLabors.ImageSharp;
using SixLabors.ImageSharp.Formats.Png;
using SixLabors.ImageSharp.PixelFormats;
@@ -26,7 +26,7 @@ using Key = Ryujinx.Input.Key;
using ScalingFilter = Ryujinx.Graphics.GAL.ScalingFilter;
using Switch = Ryujinx.HLE.Switch;
-namespace Ryujinx.Ui
+namespace Ryujinx.UI
{
public abstract class RendererWidgetBase : DrawingArea
{
@@ -659,8 +659,8 @@ namespace Ryujinx.Ui
Renderer.Screenshot();
}
- if (currentHotkeyState.HasFlag(KeyboardHotkeyState.ShowUi) &&
- !_prevHotkeyState.HasFlag(KeyboardHotkeyState.ShowUi))
+ if (currentHotkeyState.HasFlag(KeyboardHotkeyState.ShowUI) &&
+ !_prevHotkeyState.HasFlag(KeyboardHotkeyState.ShowUI))
{
(Toplevel as MainWindow).ToggleExtraWidgets(true);
}
@@ -739,7 +739,7 @@ namespace Ryujinx.Ui
None = 0,
ToggleVSync = 1 << 0,
Screenshot = 1 << 1,
- ShowUi = 1 << 2,
+ ShowUI = 1 << 2,
Pause = 1 << 3,
ToggleMute = 1 << 4,
ResScaleUp = 1 << 5,
@@ -762,9 +762,9 @@ namespace Ryujinx.Ui
state |= KeyboardHotkeyState.Screenshot;
}
- if (_keyboardInterface.IsPressed((Key)ConfigurationState.Instance.Hid.Hotkeys.Value.ShowUi))
+ if (_keyboardInterface.IsPressed((Key)ConfigurationState.Instance.Hid.Hotkeys.Value.ShowUI))
{
- state |= KeyboardHotkeyState.ShowUi;
+ state |= KeyboardHotkeyState.ShowUI;
}
if (_keyboardInterface.IsPressed((Key)ConfigurationState.Instance.Hid.Hotkeys.Value.Pause))
diff --git a/src/Ryujinx/Ui/SPBOpenGLContext.cs b/src/Ryujinx/UI/SPBOpenGLContext.cs
similarity index 98%
rename from src/Ryujinx/Ui/SPBOpenGLContext.cs
rename to src/Ryujinx/UI/SPBOpenGLContext.cs
index 0c5e57360..97feb4345 100644
--- a/src/Ryujinx/Ui/SPBOpenGLContext.cs
+++ b/src/Ryujinx/UI/SPBOpenGLContext.cs
@@ -5,7 +5,7 @@ using SPB.Graphics.OpenGL;
using SPB.Platform;
using SPB.Windowing;
-namespace Ryujinx.Ui
+namespace Ryujinx.UI
{
class SPBOpenGLContext : IOpenGLContext
{
diff --git a/src/Ryujinx/Ui/StatusUpdatedEventArgs.cs b/src/Ryujinx/UI/StatusUpdatedEventArgs.cs
similarity index 97%
rename from src/Ryujinx/Ui/StatusUpdatedEventArgs.cs
rename to src/Ryujinx/UI/StatusUpdatedEventArgs.cs
index 72e7d7f5b..db467ebfc 100644
--- a/src/Ryujinx/Ui/StatusUpdatedEventArgs.cs
+++ b/src/Ryujinx/UI/StatusUpdatedEventArgs.cs
@@ -1,6 +1,6 @@
using System;
-namespace Ryujinx.Ui
+namespace Ryujinx.UI
{
public class StatusUpdatedEventArgs : EventArgs
{
diff --git a/src/Ryujinx/Ui/VulkanRenderer.cs b/src/Ryujinx/UI/VulkanRenderer.cs
similarity index 98%
rename from src/Ryujinx/Ui/VulkanRenderer.cs
rename to src/Ryujinx/UI/VulkanRenderer.cs
index e1aae0965..eefc56999 100644
--- a/src/Ryujinx/Ui/VulkanRenderer.cs
+++ b/src/Ryujinx/UI/VulkanRenderer.cs
@@ -1,7 +1,7 @@
using Gdk;
using Ryujinx.Common.Configuration;
using Ryujinx.Input.HLE;
-using Ryujinx.Ui.Helper;
+using Ryujinx.UI.Helper;
using SPB.Graphics.Vulkan;
using SPB.Platform.Metal;
using SPB.Platform.Win32;
@@ -10,7 +10,7 @@ using SPB.Windowing;
using System;
using System.Runtime.InteropServices;
-namespace Ryujinx.Ui
+namespace Ryujinx.UI
{
public partial class VulkanRenderer : RendererWidgetBase
{
diff --git a/src/Ryujinx/Ui/Widgets/GameTableContextMenu.Designer.cs b/src/Ryujinx/UI/Widgets/GameTableContextMenu.Designer.cs
similarity index 99%
rename from src/Ryujinx/Ui/Widgets/GameTableContextMenu.Designer.cs
rename to src/Ryujinx/UI/Widgets/GameTableContextMenu.Designer.cs
index 162c172d9..8ee1cd2f3 100644
--- a/src/Ryujinx/Ui/Widgets/GameTableContextMenu.Designer.cs
+++ b/src/Ryujinx/UI/Widgets/GameTableContextMenu.Designer.cs
@@ -1,7 +1,7 @@
using Gtk;
using System;
-namespace Ryujinx.Ui.Widgets
+namespace Ryujinx.UI.Widgets
{
public partial class GameTableContextMenu : Menu
{
diff --git a/src/Ryujinx/Ui/Widgets/GameTableContextMenu.cs b/src/Ryujinx/UI/Widgets/GameTableContextMenu.cs
similarity index 98%
rename from src/Ryujinx/Ui/Widgets/GameTableContextMenu.cs
rename to src/Ryujinx/UI/Widgets/GameTableContextMenu.cs
index eb9f52d73..dc0dd4c50 100644
--- a/src/Ryujinx/Ui/Widgets/GameTableContextMenu.cs
+++ b/src/Ryujinx/UI/Widgets/GameTableContextMenu.cs
@@ -16,10 +16,10 @@ using Ryujinx.Common.Logging;
using Ryujinx.HLE.FileSystem;
using Ryujinx.HLE.HOS;
using Ryujinx.HLE.HOS.Services.Account.Acc;
-using Ryujinx.Ui.App.Common;
-using Ryujinx.Ui.Common.Configuration;
-using Ryujinx.Ui.Common.Helper;
-using Ryujinx.Ui.Windows;
+using Ryujinx.UI.App.Common;
+using Ryujinx.UI.Common.Configuration;
+using Ryujinx.UI.Common.Helper;
+using Ryujinx.UI.Windows;
using System;
using System.Buffers;
using System.Collections.Generic;
@@ -28,7 +28,7 @@ using System.IO;
using System.Reflection;
using System.Threading;
-namespace Ryujinx.Ui.Widgets
+namespace Ryujinx.UI.Widgets
{
public partial class GameTableContextMenu : Menu
{
@@ -189,7 +189,7 @@ namespace Ryujinx.Ui.Widgets
_dialog = new MessageDialog(null, DialogFlags.DestroyWithParent, MessageType.Info, ButtonsType.Cancel, null)
{
Title = "Ryujinx - NCA Section Extractor",
- Icon = new Gdk.Pixbuf(Assembly.GetAssembly(typeof(ConfigurationState)), "Ryujinx.Ui.Common.Resources.Logo_Ryujinx.png"),
+ Icon = new Gdk.Pixbuf(Assembly.GetAssembly(typeof(ConfigurationState)), "Ryujinx.UI.Common.Resources.Logo_Ryujinx.png"),
SecondaryText = $"Extracting {ncaSectionType} section from {System.IO.Path.GetFileName(_titleFilePath)}...",
WindowPosition = WindowPosition.Center,
};
@@ -320,7 +320,7 @@ namespace Ryujinx.Ui.Widgets
MessageDialog dialog = new(null, DialogFlags.DestroyWithParent, MessageType.Info, ButtonsType.Ok, null)
{
Title = "Ryujinx - NCA Section Extractor",
- Icon = new Gdk.Pixbuf(Assembly.GetAssembly(typeof(ConfigurationState)), "Ryujinx.Ui.Common.Resources.Logo_Ryujinx.png"),
+ Icon = new Gdk.Pixbuf(Assembly.GetAssembly(typeof(ConfigurationState)), "Ryujinx.UI.Common.Resources.Logo_Ryujinx.png"),
SecondaryText = "Extraction completed successfully.",
WindowPosition = WindowPosition.Center,
};
diff --git a/src/Ryujinx/Ui/Widgets/GtkDialog.cs b/src/Ryujinx/UI/Widgets/GtkDialog.cs
similarity index 96%
rename from src/Ryujinx/Ui/Widgets/GtkDialog.cs
rename to src/Ryujinx/UI/Widgets/GtkDialog.cs
index 51e777fa1..567f9ad67 100644
--- a/src/Ryujinx/Ui/Widgets/GtkDialog.cs
+++ b/src/Ryujinx/UI/Widgets/GtkDialog.cs
@@ -1,10 +1,10 @@
using Gtk;
using Ryujinx.Common.Logging;
-using Ryujinx.Ui.Common.Configuration;
+using Ryujinx.UI.Common.Configuration;
using System.Collections.Generic;
using System.Reflection;
-namespace Ryujinx.Ui.Widgets
+namespace Ryujinx.UI.Widgets
{
internal class GtkDialog : MessageDialog
{
@@ -14,7 +14,7 @@ namespace Ryujinx.Ui.Widgets
: base(null, DialogFlags.Modal, messageType, buttonsType, null)
{
Title = title;
- Icon = new Gdk.Pixbuf(Assembly.GetAssembly(typeof(ConfigurationState)), "Ryujinx.Ui.Common.Resources.Logo_Ryujinx.png");
+ Icon = new Gdk.Pixbuf(Assembly.GetAssembly(typeof(ConfigurationState)), "Ryujinx.UI.Common.Resources.Logo_Ryujinx.png");
Text = mainText;
SecondaryText = secondaryText;
WindowPosition = WindowPosition.Center;
diff --git a/src/Ryujinx/Ui/Widgets/GtkInputDialog.cs b/src/Ryujinx/UI/Widgets/GtkInputDialog.cs
similarity index 97%
rename from src/Ryujinx/Ui/Widgets/GtkInputDialog.cs
rename to src/Ryujinx/UI/Widgets/GtkInputDialog.cs
index 622980921..fd85248b7 100644
--- a/src/Ryujinx/Ui/Widgets/GtkInputDialog.cs
+++ b/src/Ryujinx/UI/Widgets/GtkInputDialog.cs
@@ -1,6 +1,6 @@
using Gtk;
-namespace Ryujinx.Ui.Widgets
+namespace Ryujinx.UI.Widgets
{
public class GtkInputDialog : MessageDialog
{
diff --git a/src/Ryujinx/Ui/Widgets/ProfileDialog.cs b/src/Ryujinx/UI/Widgets/ProfileDialog.cs
similarity index 89%
rename from src/Ryujinx/Ui/Widgets/ProfileDialog.cs
rename to src/Ryujinx/UI/Widgets/ProfileDialog.cs
index 0731b37a1..f8aa6345f 100644
--- a/src/Ryujinx/Ui/Widgets/ProfileDialog.cs
+++ b/src/Ryujinx/UI/Widgets/ProfileDialog.cs
@@ -1,10 +1,10 @@
using Gtk;
-using Ryujinx.Ui.Common.Configuration;
+using Ryujinx.UI.Common.Configuration;
using System;
using System.Reflection;
using GUI = Gtk.Builder.ObjectAttribute;
-namespace Ryujinx.Ui.Widgets
+namespace Ryujinx.UI.Widgets
{
public class ProfileDialog : Dialog
{
@@ -15,12 +15,12 @@ namespace Ryujinx.Ui.Widgets
[GUI] Label _errorMessage;
#pragma warning restore CS0649, IDE0044
- public ProfileDialog() : this(new Builder("Ryujinx.Ui.Widgets.ProfileDialog.glade")) { }
+ public ProfileDialog() : this(new Builder("Ryujinx.UI.Widgets.ProfileDialog.glade")) { }
private ProfileDialog(Builder builder) : base(builder.GetRawOwnedObject("_profileDialog"))
{
builder.Autoconnect(this);
- Icon = new Gdk.Pixbuf(Assembly.GetAssembly(typeof(ConfigurationState)), "Ryujinx.Ui.Common.Resources.Logo_Ryujinx.png");
+ Icon = new Gdk.Pixbuf(Assembly.GetAssembly(typeof(ConfigurationState)), "Ryujinx.UI.Common.Resources.Logo_Ryujinx.png");
}
private void OkToggle_Activated(object sender, EventArgs args)
diff --git a/src/Ryujinx/Ui/Widgets/ProfileDialog.glade b/src/Ryujinx/UI/Widgets/ProfileDialog.glade
similarity index 100%
rename from src/Ryujinx/Ui/Widgets/ProfileDialog.glade
rename to src/Ryujinx/UI/Widgets/ProfileDialog.glade
diff --git a/src/Ryujinx/Ui/Widgets/RawInputToTextEntry.cs b/src/Ryujinx/UI/Widgets/RawInputToTextEntry.cs
similarity index 95%
rename from src/Ryujinx/Ui/Widgets/RawInputToTextEntry.cs
rename to src/Ryujinx/UI/Widgets/RawInputToTextEntry.cs
index e82a3d492..6470790e8 100644
--- a/src/Ryujinx/Ui/Widgets/RawInputToTextEntry.cs
+++ b/src/Ryujinx/UI/Widgets/RawInputToTextEntry.cs
@@ -1,6 +1,6 @@
using Gtk;
-namespace Ryujinx.Ui.Widgets
+namespace Ryujinx.UI.Widgets
{
public class RawInputToTextEntry : Entry
{
diff --git a/src/Ryujinx/Ui/Widgets/UserErrorDialog.cs b/src/Ryujinx/UI/Widgets/UserErrorDialog.cs
similarity index 97%
rename from src/Ryujinx/Ui/Widgets/UserErrorDialog.cs
rename to src/Ryujinx/UI/Widgets/UserErrorDialog.cs
index 63a280e6d..f0b55cd8b 100644
--- a/src/Ryujinx/Ui/Widgets/UserErrorDialog.cs
+++ b/src/Ryujinx/UI/Widgets/UserErrorDialog.cs
@@ -1,8 +1,8 @@
using Gtk;
-using Ryujinx.Ui.Common;
-using Ryujinx.Ui.Common.Helper;
+using Ryujinx.UI.Common;
+using Ryujinx.UI.Common.Helper;
-namespace Ryujinx.Ui.Widgets
+namespace Ryujinx.UI.Widgets
{
internal class UserErrorDialog : MessageDialog
{
diff --git a/src/Ryujinx/Ui/Windows/AboutWindow.Designer.cs b/src/Ryujinx/UI/Windows/AboutWindow.Designer.cs
similarity index 97%
rename from src/Ryujinx/Ui/Windows/AboutWindow.Designer.cs
rename to src/Ryujinx/UI/Windows/AboutWindow.Designer.cs
index 345026334..fd912ef9a 100644
--- a/src/Ryujinx/Ui/Windows/AboutWindow.Designer.cs
+++ b/src/Ryujinx/UI/Windows/AboutWindow.Designer.cs
@@ -1,9 +1,9 @@
using Gtk;
using Pango;
-using Ryujinx.Ui.Common.Configuration;
+using Ryujinx.UI.Common.Configuration;
using System.Reflection;
-namespace Ryujinx.Ui.Windows
+namespace Ryujinx.UI.Windows
{
public partial class AboutWindow : Window
{
@@ -88,7 +88,7 @@ namespace Ryujinx.Ui.Windows
//
// _ryujinxLogo
//
- _ryujinxLogo = new Image(new Gdk.Pixbuf(Assembly.GetAssembly(typeof(ConfigurationState)), "Ryujinx.Ui.Common.Resources.Logo_Ryujinx.png", 100, 100))
+ _ryujinxLogo = new Image(new Gdk.Pixbuf(Assembly.GetAssembly(typeof(ConfigurationState)), "Ryujinx.UI.Common.Resources.Logo_Ryujinx.png", 100, 100))
{
Margin = 10,
MarginStart = 15,
@@ -223,7 +223,7 @@ namespace Ryujinx.Ui.Windows
//
// _patreonLogo
//
- _patreonLogo = new Image(new Gdk.Pixbuf(Assembly.GetAssembly(typeof(ConfigurationState)), "Ryujinx.Ui.Common.Resources.Logo_Patreon_Light.png", 30, 30))
+ _patreonLogo = new Image(new Gdk.Pixbuf(Assembly.GetAssembly(typeof(ConfigurationState)), "Ryujinx.UI.Common.Resources.Logo_Patreon_Light.png", 30, 30))
{
Margin = 10,
};
@@ -253,7 +253,7 @@ namespace Ryujinx.Ui.Windows
//
// _githubLogo
//
- _githubLogo = new Image(new Gdk.Pixbuf(Assembly.GetAssembly(typeof(ConfigurationState)), "Ryujinx.Ui.Common.Resources.Logo_GitHub_Light.png", 30, 30))
+ _githubLogo = new Image(new Gdk.Pixbuf(Assembly.GetAssembly(typeof(ConfigurationState)), "Ryujinx.UI.Common.Resources.Logo_GitHub_Light.png", 30, 30))
{
Margin = 10,
};
@@ -283,7 +283,7 @@ namespace Ryujinx.Ui.Windows
//
// _discordLogo
//
- _discordLogo = new Image(new Gdk.Pixbuf(Assembly.GetAssembly(typeof(ConfigurationState)), "Ryujinx.Ui.Common.Resources.Logo_Discord_Light.png", 30, 30))
+ _discordLogo = new Image(new Gdk.Pixbuf(Assembly.GetAssembly(typeof(ConfigurationState)), "Ryujinx.UI.Common.Resources.Logo_Discord_Light.png", 30, 30))
{
Margin = 10,
};
@@ -313,7 +313,7 @@ namespace Ryujinx.Ui.Windows
//
// _twitterLogo
//
- _twitterLogo = new Image(new Gdk.Pixbuf(Assembly.GetAssembly(typeof(ConfigurationState)), "Ryujinx.Ui.Common.Resources.Logo_Twitter_Light.png", 30, 30))
+ _twitterLogo = new Image(new Gdk.Pixbuf(Assembly.GetAssembly(typeof(ConfigurationState)), "Ryujinx.UI.Common.Resources.Logo_Twitter_Light.png", 30, 30))
{
Margin = 10,
};
diff --git a/src/Ryujinx/Ui/Windows/AboutWindow.cs b/src/Ryujinx/UI/Windows/AboutWindow.cs
similarity index 95%
rename from src/Ryujinx/Ui/Windows/AboutWindow.cs
rename to src/Ryujinx/UI/Windows/AboutWindow.cs
index ba12bb68b..f4bb533c3 100644
--- a/src/Ryujinx/Ui/Windows/AboutWindow.cs
+++ b/src/Ryujinx/UI/Windows/AboutWindow.cs
@@ -1,18 +1,18 @@
using Gtk;
using Ryujinx.Common.Utilities;
-using Ryujinx.Ui.Common.Helper;
+using Ryujinx.UI.Common.Helper;
using System.Net.Http;
using System.Net.NetworkInformation;
using System.Reflection;
using System.Threading.Tasks;
-namespace Ryujinx.Ui.Windows
+namespace Ryujinx.UI.Windows
{
public partial class AboutWindow : Window
{
public AboutWindow() : base($"Ryujinx {Program.Version} - About")
{
- Icon = new Gdk.Pixbuf(Assembly.GetAssembly(typeof(OpenHelper)), "Ryujinx.Ui.Common.Resources.Logo_Ryujinx.png");
+ Icon = new Gdk.Pixbuf(Assembly.GetAssembly(typeof(OpenHelper)), "Ryujinx.UI.Common.Resources.Logo_Ryujinx.png");
InitializeComponent();
_ = DownloadPatronsJson();
diff --git a/src/Ryujinx/Ui/Windows/AmiiboWindow.Designer.cs b/src/Ryujinx/UI/Windows/AmiiboWindow.Designer.cs
similarity index 99%
rename from src/Ryujinx/Ui/Windows/AmiiboWindow.Designer.cs
rename to src/Ryujinx/UI/Windows/AmiiboWindow.Designer.cs
index cb27c34cb..3bf73318f 100644
--- a/src/Ryujinx/Ui/Windows/AmiiboWindow.Designer.cs
+++ b/src/Ryujinx/UI/Windows/AmiiboWindow.Designer.cs
@@ -1,6 +1,6 @@
using Gtk;
-namespace Ryujinx.Ui.Windows
+namespace Ryujinx.UI.Windows
{
public partial class AmiiboWindow : Window
{
diff --git a/src/Ryujinx/Ui/Windows/AmiiboWindow.cs b/src/Ryujinx/UI/Windows/AmiiboWindow.cs
similarity index 98%
rename from src/Ryujinx/Ui/Windows/AmiiboWindow.cs
rename to src/Ryujinx/UI/Windows/AmiiboWindow.cs
index a2a5bce6f..d8c0b0c0d 100644
--- a/src/Ryujinx/Ui/Windows/AmiiboWindow.cs
+++ b/src/Ryujinx/UI/Windows/AmiiboWindow.cs
@@ -4,9 +4,9 @@ using Ryujinx.Common;
using Ryujinx.Common.Configuration;
using Ryujinx.Common.Logging;
using Ryujinx.Common.Utilities;
-using Ryujinx.Ui.Common.Configuration;
-using Ryujinx.Ui.Common.Models.Amiibo;
-using Ryujinx.Ui.Widgets;
+using Ryujinx.UI.Common.Configuration;
+using Ryujinx.UI.Common.Models.Amiibo;
+using Ryujinx.UI.Widgets;
using System;
using System.Collections.Generic;
using System.IO;
@@ -18,7 +18,7 @@ using System.Text.Json;
using System.Threading.Tasks;
using Window = Gtk.Window;
-namespace Ryujinx.Ui.Windows
+namespace Ryujinx.UI.Windows
{
public partial class AmiiboWindow : Window
{
@@ -52,7 +52,7 @@ namespace Ryujinx.Ui.Windows
public AmiiboWindow() : base($"Ryujinx {Program.Version} - Amiibo")
{
- Icon = new Pixbuf(Assembly.GetAssembly(typeof(ConfigurationState)), "Ryujinx.Ui.Common.Resources.Logo_Ryujinx.png");
+ Icon = new Pixbuf(Assembly.GetAssembly(typeof(ConfigurationState)), "Ryujinx.UI.Common.Resources.Logo_Ryujinx.png");
InitializeComponent();
@@ -66,7 +66,7 @@ namespace Ryujinx.Ui.Windows
_amiiboJsonPath = System.IO.Path.Join(AppDataManager.BaseDirPath, "system", "amiibo", "Amiibo.json");
_amiiboList = new List();
- _amiiboLogoBytes = EmbeddedResources.Read("Ryujinx.Ui.Common/Resources/Logo_Amiibo.png");
+ _amiiboLogoBytes = EmbeddedResources.Read("Ryujinx.UI.Common/Resources/Logo_Amiibo.png");
_amiiboImage.Pixbuf = new Pixbuf(_amiiboLogoBytes);
_scanButton.Sensitive = false;
diff --git a/src/Ryujinx/Ui/Windows/AvatarWindow.cs b/src/Ryujinx/UI/Windows/AvatarWindow.cs
similarity index 98%
rename from src/Ryujinx/Ui/Windows/AvatarWindow.cs
rename to src/Ryujinx/UI/Windows/AvatarWindow.cs
index 3d3ff7c3c..7cddc362b 100644
--- a/src/Ryujinx/Ui/Windows/AvatarWindow.cs
+++ b/src/Ryujinx/UI/Windows/AvatarWindow.cs
@@ -8,7 +8,7 @@ using LibHac.Tools.FsSystem;
using LibHac.Tools.FsSystem.NcaUtils;
using Ryujinx.Common.Memory;
using Ryujinx.HLE.FileSystem;
-using Ryujinx.Ui.Common.Configuration;
+using Ryujinx.UI.Common.Configuration;
using SixLabors.ImageSharp;
using SixLabors.ImageSharp.Formats.Png;
using SixLabors.ImageSharp.PixelFormats;
@@ -20,7 +20,7 @@ using System.IO;
using System.Reflection;
using Image = SixLabors.ImageSharp.Image;
-namespace Ryujinx.Ui.Windows
+namespace Ryujinx.UI.Windows
{
public class AvatarWindow : Window
{
@@ -36,7 +36,7 @@ namespace Ryujinx.Ui.Windows
public AvatarWindow() : base($"Ryujinx {Program.Version} - Manage Accounts - Avatar")
{
- Icon = new Gdk.Pixbuf(Assembly.GetAssembly(typeof(ConfigurationState)), "Ryujinx.Ui.Common.Resources.Logo_Ryujinx.png");
+ Icon = new Gdk.Pixbuf(Assembly.GetAssembly(typeof(ConfigurationState)), "Ryujinx.UI.Common.Resources.Logo_Ryujinx.png");
CanFocus = false;
Resizable = false;
diff --git a/src/Ryujinx/Ui/Windows/CheatWindow.cs b/src/Ryujinx/UI/Windows/CheatWindow.cs
similarity index 97%
rename from src/Ryujinx/Ui/Windows/CheatWindow.cs
rename to src/Ryujinx/UI/Windows/CheatWindow.cs
index afccec53c..73ee870cd 100644
--- a/src/Ryujinx/Ui/Windows/CheatWindow.cs
+++ b/src/Ryujinx/UI/Windows/CheatWindow.cs
@@ -1,14 +1,14 @@
using Gtk;
using Ryujinx.HLE.FileSystem;
using Ryujinx.HLE.HOS;
-using Ryujinx.Ui.App.Common;
+using Ryujinx.UI.App.Common;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using GUI = Gtk.Builder.ObjectAttribute;
-namespace Ryujinx.Ui.Windows
+namespace Ryujinx.UI.Windows
{
public class CheatWindow : Window
{
@@ -22,7 +22,7 @@ namespace Ryujinx.Ui.Windows
[GUI] Button _saveButton;
#pragma warning restore CS0649, IDE0044
- public CheatWindow(VirtualFileSystem virtualFileSystem, ulong titleId, string titleName, string titlePath) : this(new Builder("Ryujinx.Ui.Windows.CheatWindow.glade"), virtualFileSystem, titleId, titleName, titlePath) { }
+ public CheatWindow(VirtualFileSystem virtualFileSystem, ulong titleId, string titleName, string titlePath) : this(new Builder("Ryujinx.UI.Windows.CheatWindow.glade"), virtualFileSystem, titleId, titleName, titlePath) { }
private CheatWindow(Builder builder, VirtualFileSystem virtualFileSystem, ulong titleId, string titleName, string titlePath) : base(builder.GetRawOwnedObject("_cheatWindow"))
{
diff --git a/src/Ryujinx/Ui/Windows/CheatWindow.glade b/src/Ryujinx/UI/Windows/CheatWindow.glade
similarity index 100%
rename from src/Ryujinx/Ui/Windows/CheatWindow.glade
rename to src/Ryujinx/UI/Windows/CheatWindow.glade
diff --git a/src/Ryujinx/Ui/Windows/ControllerWindow.cs b/src/Ryujinx/UI/Windows/ControllerWindow.cs
similarity index 99%
rename from src/Ryujinx/Ui/Windows/ControllerWindow.cs
rename to src/Ryujinx/UI/Windows/ControllerWindow.cs
index ebf22ab60..954113443 100644
--- a/src/Ryujinx/Ui/Windows/ControllerWindow.cs
+++ b/src/Ryujinx/UI/Windows/ControllerWindow.cs
@@ -9,8 +9,8 @@ using Ryujinx.Common.Utilities;
using Ryujinx.Input;
using Ryujinx.Input.Assigner;
using Ryujinx.Input.GTK3;
-using Ryujinx.Ui.Common.Configuration;
-using Ryujinx.Ui.Widgets;
+using Ryujinx.UI.Common.Configuration;
+using Ryujinx.UI.Widgets;
using System;
using System.Collections.Generic;
using System.IO;
@@ -22,7 +22,7 @@ using ConfigStickInputId = Ryujinx.Common.Configuration.Hid.Controller.StickInpu
using GUI = Gtk.Builder.ObjectAttribute;
using Key = Ryujinx.Common.Configuration.Hid.Key;
-namespace Ryujinx.Ui.Windows
+namespace Ryujinx.UI.Windows
{
public class ControllerWindow : Window
{
@@ -117,7 +117,7 @@ namespace Ryujinx.Ui.Windows
private static readonly InputConfigJsonSerializerContext _serializerContext = new(JsonHelper.GetDefaultSerializerOptions());
- public ControllerWindow(MainWindow mainWindow, PlayerIndex controllerId) : this(mainWindow, new Builder("Ryujinx.Ui.Windows.ControllerWindow.glade"), controllerId) { }
+ public ControllerWindow(MainWindow mainWindow, PlayerIndex controllerId) : this(mainWindow, new Builder("Ryujinx.UI.Windows.ControllerWindow.glade"), controllerId) { }
private ControllerWindow(MainWindow mainWindow, Builder builder, PlayerIndex controllerId) : base(builder.GetRawOwnedObject("_controllerWin"))
{
@@ -127,7 +127,7 @@ namespace Ryujinx.Ui.Windows
// NOTE: To get input in this window, we need to bind a custom keyboard driver instead of using the InputManager one as the main window isn't focused...
_gtk3KeyboardDriver = new GTK3KeyboardDriver(this);
- Icon = new Gdk.Pixbuf(Assembly.GetAssembly(typeof(ConfigurationState)), "Ryujinx.Ui.Common.Resources.Logo_Ryujinx.png");
+ Icon = new Gdk.Pixbuf(Assembly.GetAssembly(typeof(ConfigurationState)), "Ryujinx.UI.Common.Resources.Logo_Ryujinx.png");
builder.Autoconnect(this);
@@ -377,10 +377,10 @@ namespace Ryujinx.Ui.Windows
{
_controllerImage.Pixbuf = _controllerType.ActiveId switch
{
- "ProController" => new Gdk.Pixbuf(Assembly.GetAssembly(typeof(ConfigurationState)), "Ryujinx.Ui.Common.Resources.Controller_ProCon.svg", 400, 400),
- "JoyconLeft" => new Gdk.Pixbuf(Assembly.GetAssembly(typeof(ConfigurationState)), "Ryujinx.Ui.Common.Resources.Controller_JoyConLeft.svg", 400, 500),
- "JoyconRight" => new Gdk.Pixbuf(Assembly.GetAssembly(typeof(ConfigurationState)), "Ryujinx.Ui.Common.Resources.Controller_JoyConRight.svg", 400, 500),
- _ => new Gdk.Pixbuf(Assembly.GetAssembly(typeof(ConfigurationState)), "Ryujinx.Ui.Common.Resources.Controller_JoyConPair.svg", 400, 500),
+ "ProController" => new Gdk.Pixbuf(Assembly.GetAssembly(typeof(ConfigurationState)), "Ryujinx.UI.Common.Resources.Controller_ProCon.svg", 400, 400),
+ "JoyconLeft" => new Gdk.Pixbuf(Assembly.GetAssembly(typeof(ConfigurationState)), "Ryujinx.UI.Common.Resources.Controller_JoyConLeft.svg", 400, 500),
+ "JoyconRight" => new Gdk.Pixbuf(Assembly.GetAssembly(typeof(ConfigurationState)), "Ryujinx.UI.Common.Resources.Controller_JoyConRight.svg", 400, 500),
+ _ => new Gdk.Pixbuf(Assembly.GetAssembly(typeof(ConfigurationState)), "Ryujinx.UI.Common.Resources.Controller_JoyConPair.svg", 400, 500),
};
}
}
diff --git a/src/Ryujinx/Ui/Windows/ControllerWindow.glade b/src/Ryujinx/UI/Windows/ControllerWindow.glade
similarity index 100%
rename from src/Ryujinx/Ui/Windows/ControllerWindow.glade
rename to src/Ryujinx/UI/Windows/ControllerWindow.glade
diff --git a/src/Ryujinx/Ui/Windows/DlcWindow.cs b/src/Ryujinx/UI/Windows/DlcWindow.cs
similarity index 98%
rename from src/Ryujinx/Ui/Windows/DlcWindow.cs
rename to src/Ryujinx/UI/Windows/DlcWindow.cs
index 9f7179467..aed1a015d 100644
--- a/src/Ryujinx/Ui/Windows/DlcWindow.cs
+++ b/src/Ryujinx/UI/Windows/DlcWindow.cs
@@ -9,13 +9,13 @@ using LibHac.Tools.FsSystem.NcaUtils;
using Ryujinx.Common.Configuration;
using Ryujinx.Common.Utilities;
using Ryujinx.HLE.FileSystem;
-using Ryujinx.Ui.Widgets;
+using Ryujinx.UI.Widgets;
using System;
using System.Collections.Generic;
using System.IO;
using GUI = Gtk.Builder.ObjectAttribute;
-namespace Ryujinx.Ui.Windows
+namespace Ryujinx.UI.Windows
{
public class DlcWindow : Window
{
@@ -32,7 +32,7 @@ namespace Ryujinx.Ui.Windows
[GUI] TreeSelection _dlcTreeSelection;
#pragma warning restore CS0649, IDE0044
- public DlcWindow(VirtualFileSystem virtualFileSystem, string titleId, string titleName) : this(new Builder("Ryujinx.Ui.Windows.DlcWindow.glade"), virtualFileSystem, titleId, titleName) { }
+ public DlcWindow(VirtualFileSystem virtualFileSystem, string titleId, string titleName) : this(new Builder("Ryujinx.UI.Windows.DlcWindow.glade"), virtualFileSystem, titleId, titleName) { }
private DlcWindow(Builder builder, VirtualFileSystem virtualFileSystem, string titleId, string titleName) : base(builder.GetRawOwnedObject("_dlcWindow"))
{
diff --git a/src/Ryujinx/Ui/Windows/DlcWindow.glade b/src/Ryujinx/UI/Windows/DlcWindow.glade
similarity index 100%
rename from src/Ryujinx/Ui/Windows/DlcWindow.glade
rename to src/Ryujinx/UI/Windows/DlcWindow.glade
diff --git a/src/Ryujinx/Ui/Windows/SettingsWindow.cs b/src/Ryujinx/UI/Windows/SettingsWindow.cs
similarity index 98%
rename from src/Ryujinx/Ui/Windows/SettingsWindow.cs
rename to src/Ryujinx/UI/Windows/SettingsWindow.cs
index dabef14dd..270a8ad4a 100644
--- a/src/Ryujinx/Ui/Windows/SettingsWindow.cs
+++ b/src/Ryujinx/UI/Windows/SettingsWindow.cs
@@ -9,10 +9,10 @@ using Ryujinx.Common.Configuration.Multiplayer;
using Ryujinx.Common.GraphicsDriver;
using Ryujinx.HLE.FileSystem;
using Ryujinx.HLE.HOS.Services.Time.TimeZone;
-using Ryujinx.Ui.Common.Configuration;
-using Ryujinx.Ui.Common.Configuration.System;
-using Ryujinx.Ui.Helper;
-using Ryujinx.Ui.Widgets;
+using Ryujinx.UI.Common.Configuration;
+using Ryujinx.UI.Common.Configuration.System;
+using Ryujinx.UI.Helper;
+using Ryujinx.UI.Widgets;
using System;
using System.Collections.Generic;
using System.Globalization;
@@ -23,7 +23,7 @@ using System.Text.RegularExpressions;
using System.Threading.Tasks;
using GUI = Gtk.Builder.ObjectAttribute;
-namespace Ryujinx.Ui.Windows
+namespace Ryujinx.UI.Windows
{
public class SettingsWindow : Window
{
@@ -120,11 +120,11 @@ namespace Ryujinx.Ui.Windows
#pragma warning restore CS0649, IDE0044
- public SettingsWindow(MainWindow parent, VirtualFileSystem virtualFileSystem, ContentManager contentManager) : this(parent, new Builder("Ryujinx.Ui.Windows.SettingsWindow.glade"), virtualFileSystem, contentManager) { }
+ public SettingsWindow(MainWindow parent, VirtualFileSystem virtualFileSystem, ContentManager contentManager) : this(parent, new Builder("Ryujinx.UI.Windows.SettingsWindow.glade"), virtualFileSystem, contentManager) { }
private SettingsWindow(MainWindow parent, Builder builder, VirtualFileSystem virtualFileSystem, ContentManager contentManager) : base(builder.GetRawOwnedObject("_settingsWin"))
{
- Icon = new Gdk.Pixbuf(Assembly.GetAssembly(typeof(ConfigurationState)), "Ryujinx.Ui.Common.Resources.Logo_Ryujinx.png");
+ Icon = new Gdk.Pixbuf(Assembly.GetAssembly(typeof(ConfigurationState)), "Ryujinx.UI.Common.Resources.Logo_Ryujinx.png");
_parent = parent;
@@ -311,7 +311,7 @@ namespace Ryujinx.Ui.Windows
_directMouseAccess.Click();
}
- if (ConfigurationState.Instance.Ui.EnableCustomTheme)
+ if (ConfigurationState.Instance.UI.EnableCustomTheme)
{
_custThemeToggle.Click();
}
@@ -366,7 +366,7 @@ namespace Ryujinx.Ui.Windows
_multiLanSelect.SetActiveId(ConfigurationState.Instance.Multiplayer.LanInterfaceId.Value);
_multiModeSelect.SetActiveId(ConfigurationState.Instance.Multiplayer.Mode.Value.ToString());
- _custThemePath.Buffer.Text = ConfigurationState.Instance.Ui.CustomThemePath;
+ _custThemePath.Buffer.Text = ConfigurationState.Instance.UI.CustomThemePath;
_resScaleText.Buffer.Text = ConfigurationState.Instance.Graphics.ResScaleCustom.Value.ToString();
_scalingFilterLevel.Value = ConfigurationState.Instance.Graphics.ScalingFilterLevel.Value;
_resScaleText.Visible = _resScaleCombo.ActiveId == "-1";
@@ -379,7 +379,7 @@ namespace Ryujinx.Ui.Windows
_gameDirsBoxStore = new ListStore(typeof(string));
_gameDirsBox.Model = _gameDirsBoxStore;
- foreach (string gameDir in ConfigurationState.Instance.Ui.GameDirs.Value)
+ foreach (string gameDir in ConfigurationState.Instance.UI.GameDirs.Value)
{
_gameDirsBoxStore.AppendValues(gameDir);
}
@@ -568,7 +568,7 @@ namespace Ryujinx.Ui.Windows
_gameDirsBoxStore.IterNext(ref treeIter);
}
- ConfigurationState.Instance.Ui.GameDirs.Value = gameDirs;
+ ConfigurationState.Instance.UI.GameDirs.Value = gameDirs;
_directoryChanged = false;
}
@@ -640,11 +640,11 @@ namespace Ryujinx.Ui.Windows
ConfigurationState.Instance.System.IgnoreMissingServices.Value = _ignoreToggle.Active;
ConfigurationState.Instance.Hid.EnableKeyboard.Value = _directKeyboardAccess.Active;
ConfigurationState.Instance.Hid.EnableMouse.Value = _directMouseAccess.Active;
- ConfigurationState.Instance.Ui.EnableCustomTheme.Value = _custThemeToggle.Active;
+ ConfigurationState.Instance.UI.EnableCustomTheme.Value = _custThemeToggle.Active;
ConfigurationState.Instance.System.Language.Value = Enum.Parse(_systemLanguageSelect.ActiveId);
ConfigurationState.Instance.System.Region.Value = Enum.Parse(_systemRegionSelect.ActiveId);
ConfigurationState.Instance.System.SystemTimeOffset.Value = _systemTimeOffset;
- ConfigurationState.Instance.Ui.CustomThemePath.Value = _custThemePath.Buffer.Text;
+ ConfigurationState.Instance.UI.CustomThemePath.Value = _custThemePath.Buffer.Text;
ConfigurationState.Instance.Graphics.ShadersDumpPath.Value = _graphicsShadersDumpPath.Buffer.Text;
ConfigurationState.Instance.System.FsGlobalAccessLogMode.Value = (int)_fsLogSpinAdjustment.Value;
ConfigurationState.Instance.Graphics.MaxAnisotropy.Value = float.Parse(_anisotropy.ActiveId, CultureInfo.InvariantCulture);
diff --git a/src/Ryujinx/Ui/Windows/SettingsWindow.glade b/src/Ryujinx/UI/Windows/SettingsWindow.glade
similarity index 100%
rename from src/Ryujinx/Ui/Windows/SettingsWindow.glade
rename to src/Ryujinx/UI/Windows/SettingsWindow.glade
diff --git a/src/Ryujinx/Ui/Windows/TitleUpdateWindow.cs b/src/Ryujinx/UI/Windows/TitleUpdateWindow.cs
similarity index 98%
rename from src/Ryujinx/Ui/Windows/TitleUpdateWindow.cs
rename to src/Ryujinx/UI/Windows/TitleUpdateWindow.cs
index 51918eeab..1df929336 100644
--- a/src/Ryujinx/Ui/Windows/TitleUpdateWindow.cs
+++ b/src/Ryujinx/UI/Windows/TitleUpdateWindow.cs
@@ -9,8 +9,8 @@ using LibHac.Tools.FsSystem.NcaUtils;
using Ryujinx.Common.Configuration;
using Ryujinx.Common.Utilities;
using Ryujinx.HLE.FileSystem;
-using Ryujinx.Ui.App.Common;
-using Ryujinx.Ui.Widgets;
+using Ryujinx.UI.App.Common;
+using Ryujinx.UI.Widgets;
using System;
using System.Collections.Generic;
using System.IO;
@@ -18,7 +18,7 @@ using System.Linq;
using GUI = Gtk.Builder.ObjectAttribute;
using SpanHelpers = LibHac.Common.SpanHelpers;
-namespace Ryujinx.Ui.Windows
+namespace Ryujinx.UI.Windows
{
public class TitleUpdateWindow : Window
{
@@ -38,7 +38,7 @@ namespace Ryujinx.Ui.Windows
[GUI] RadioButton _noUpdateRadioButton;
#pragma warning restore CS0649, IDE0044
- public TitleUpdateWindow(MainWindow parent, VirtualFileSystem virtualFileSystem, string titleId, string titleName) : this(new Builder("Ryujinx.Ui.Windows.TitleUpdateWindow.glade"), parent, virtualFileSystem, titleId, titleName) { }
+ public TitleUpdateWindow(MainWindow parent, VirtualFileSystem virtualFileSystem, string titleId, string titleName) : this(new Builder("Ryujinx.UI.Windows.TitleUpdateWindow.glade"), parent, virtualFileSystem, titleId, titleName) { }
private TitleUpdateWindow(Builder builder, MainWindow parent, VirtualFileSystem virtualFileSystem, string titleId, string titleName) : base(builder.GetRawOwnedObject("_titleUpdateWindow"))
{
diff --git a/src/Ryujinx/Ui/Windows/TitleUpdateWindow.glade b/src/Ryujinx/UI/Windows/TitleUpdateWindow.glade
similarity index 100%
rename from src/Ryujinx/Ui/Windows/TitleUpdateWindow.glade
rename to src/Ryujinx/UI/Windows/TitleUpdateWindow.glade
diff --git a/src/Ryujinx/Ui/Windows/UserProfilesManagerWindow.Designer.cs b/src/Ryujinx/UI/Windows/UserProfilesManagerWindow.Designer.cs
similarity index 99%
rename from src/Ryujinx/Ui/Windows/UserProfilesManagerWindow.Designer.cs
rename to src/Ryujinx/UI/Windows/UserProfilesManagerWindow.Designer.cs
index 804bd3fb0..bc5a18f95 100644
--- a/src/Ryujinx/Ui/Windows/UserProfilesManagerWindow.Designer.cs
+++ b/src/Ryujinx/UI/Windows/UserProfilesManagerWindow.Designer.cs
@@ -2,7 +2,7 @@
using Pango;
using System;
-namespace Ryujinx.Ui.Windows
+namespace Ryujinx.UI.Windows
{
public partial class UserProfilesManagerWindow : Window
{
diff --git a/src/Ryujinx/Ui/Windows/UserProfilesManagerWindow.cs b/src/Ryujinx/UI/Windows/UserProfilesManagerWindow.cs
similarity index 98%
rename from src/Ryujinx/Ui/Windows/UserProfilesManagerWindow.cs
rename to src/Ryujinx/UI/Windows/UserProfilesManagerWindow.cs
index 3d503f64e..d1e5fa9fc 100644
--- a/src/Ryujinx/Ui/Windows/UserProfilesManagerWindow.cs
+++ b/src/Ryujinx/UI/Windows/UserProfilesManagerWindow.cs
@@ -2,8 +2,8 @@ using Gtk;
using Ryujinx.Common.Memory;
using Ryujinx.HLE.FileSystem;
using Ryujinx.HLE.HOS.Services.Account.Acc;
-using Ryujinx.Ui.Common.Configuration;
-using Ryujinx.Ui.Widgets;
+using Ryujinx.UI.Common.Configuration;
+using Ryujinx.UI.Widgets;
using SixLabors.ImageSharp;
using SixLabors.ImageSharp.Processing;
using System;
@@ -14,7 +14,7 @@ using System.Threading;
using System.Threading.Tasks;
using Image = SixLabors.ImageSharp.Image;
-namespace Ryujinx.Ui.Windows
+namespace Ryujinx.UI.Windows
{
public partial class UserProfilesManagerWindow : Window
{
@@ -32,7 +32,7 @@ namespace Ryujinx.Ui.Windows
public UserProfilesManagerWindow(AccountManager accountManager, ContentManager contentManager, VirtualFileSystem virtualFileSystem) : base($"Ryujinx {Program.Version} - Manage User Profiles")
{
- Icon = new Gdk.Pixbuf(Assembly.GetAssembly(typeof(ConfigurationState)), "Ryujinx.Ui.Common.Resources.Logo_Ryujinx.png");
+ Icon = new Gdk.Pixbuf(Assembly.GetAssembly(typeof(ConfigurationState)), "Ryujinx.UI.Common.Resources.Logo_Ryujinx.png");
InitializeComponent();