mirror of
https://git.naxdy.org/Mirror/Ryujinx.git
synced 2025-03-14 22:40:18 +00:00
Use block-scoped namespaces
This commit is contained in:
parent
fb884c7a30
commit
eef1e1cc6a
9 changed files with 186 additions and 177 deletions
|
@ -1,11 +1,12 @@
|
||||||
using Avalonia.Controls;
|
using Avalonia.Controls;
|
||||||
|
|
||||||
namespace Ryujinx.Ava.UI.Views.Settings;
|
namespace Ryujinx.Ava.UI.Views.Settings
|
||||||
|
|
||||||
public partial class SettingsAudioView : UserControl
|
|
||||||
{
|
{
|
||||||
|
public partial class SettingsAudioView : UserControl
|
||||||
|
{
|
||||||
public SettingsAudioView()
|
public SettingsAudioView()
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
|
@ -1,11 +1,12 @@
|
||||||
using Avalonia.Controls;
|
using Avalonia.Controls;
|
||||||
|
|
||||||
namespace Ryujinx.Ava.UI.Views.Settings;
|
namespace Ryujinx.Ava.UI.Views.Settings
|
||||||
|
|
||||||
public partial class SettingsCPUView : UserControl
|
|
||||||
{
|
{
|
||||||
|
public partial class SettingsCPUView : UserControl
|
||||||
|
{
|
||||||
public SettingsCPUView()
|
public SettingsCPUView()
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
|
@ -1,11 +1,12 @@
|
||||||
using Avalonia.Controls;
|
using Avalonia.Controls;
|
||||||
|
|
||||||
namespace Ryujinx.Ava.UI.Views.Settings;
|
namespace Ryujinx.Ava.UI.Views.Settings
|
||||||
|
|
||||||
public partial class SettingsGraphicsView : UserControl
|
|
||||||
{
|
{
|
||||||
|
public partial class SettingsGraphicsView : UserControl
|
||||||
|
{
|
||||||
public SettingsGraphicsView()
|
public SettingsGraphicsView()
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
|
@ -7,10 +7,10 @@ using Ryujinx.Ava.UI.Helpers;
|
||||||
using Ryujinx.Input;
|
using Ryujinx.Input;
|
||||||
using Ryujinx.Input.Assigner;
|
using Ryujinx.Input.Assigner;
|
||||||
|
|
||||||
namespace Ryujinx.Ava.UI.Views.Settings;
|
namespace Ryujinx.Ava.UI.Views.Settings
|
||||||
|
|
||||||
public partial class SettingsHotkeysView : UserControl
|
|
||||||
{
|
{
|
||||||
|
public partial class SettingsHotkeysView : UserControl
|
||||||
|
{
|
||||||
private ButtonKeyAssigner _currentAssigner;
|
private ButtonKeyAssigner _currentAssigner;
|
||||||
private IGamepadDriver AvaloniaKeyboardDriver;
|
private IGamepadDriver AvaloniaKeyboardDriver;
|
||||||
|
|
||||||
|
@ -77,4 +77,5 @@ public partial class SettingsHotkeysView : UserControl
|
||||||
_currentAssigner?.Cancel();
|
_currentAssigner?.Cancel();
|
||||||
_currentAssigner = null;
|
_currentAssigner = null;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
|
@ -1,9 +1,9 @@
|
||||||
using Avalonia.Controls;
|
using Avalonia.Controls;
|
||||||
|
|
||||||
namespace Ryujinx.Ava.UI.Views.Settings;
|
namespace Ryujinx.Ava.UI.Views.Settings
|
||||||
|
|
||||||
public partial class SettingsInputView : UserControl
|
|
||||||
{
|
{
|
||||||
|
public partial class SettingsInputView : UserControl
|
||||||
|
{
|
||||||
public SettingsInputView()
|
public SettingsInputView()
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
|
@ -13,4 +13,5 @@ public partial class SettingsInputView : UserControl
|
||||||
{
|
{
|
||||||
ControllerSettings.Dispose();
|
ControllerSettings.Dispose();
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
|
@ -1,11 +1,12 @@
|
||||||
using Avalonia.Controls;
|
using Avalonia.Controls;
|
||||||
|
|
||||||
namespace Ryujinx.Ava.UI.Views.Settings;
|
namespace Ryujinx.Ava.UI.Views.Settings
|
||||||
|
|
||||||
public partial class SettingsLoggingView : UserControl
|
|
||||||
{
|
{
|
||||||
|
public partial class SettingsLoggingView : UserControl
|
||||||
|
{
|
||||||
public SettingsLoggingView()
|
public SettingsLoggingView()
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
|
@ -1,11 +1,12 @@
|
||||||
using Avalonia.Controls;
|
using Avalonia.Controls;
|
||||||
|
|
||||||
namespace Ryujinx.Ava.UI.Views.Settings;
|
namespace Ryujinx.Ava.UI.Views.Settings
|
||||||
|
|
||||||
public partial class SettingsNetworkView : UserControl
|
|
||||||
{
|
{
|
||||||
|
public partial class SettingsNetworkView : UserControl
|
||||||
|
{
|
||||||
public SettingsNetworkView()
|
public SettingsNetworkView()
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
|
@ -6,10 +6,10 @@ using System;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using TimeZone = Ryujinx.Ava.UI.Models.TimeZone;
|
using TimeZone = Ryujinx.Ava.UI.Models.TimeZone;
|
||||||
|
|
||||||
namespace Ryujinx.Ava.UI.Views.Settings;
|
namespace Ryujinx.Ava.UI.Views.Settings
|
||||||
|
|
||||||
public partial class SettingsSystemView : UserControl
|
|
||||||
{
|
{
|
||||||
|
public partial class SettingsSystemView : UserControl
|
||||||
|
{
|
||||||
public SettingsViewModel ViewModel;
|
public SettingsViewModel ViewModel;
|
||||||
|
|
||||||
public SettingsSystemView()
|
public SettingsSystemView()
|
||||||
|
@ -48,4 +48,5 @@ public partial class SettingsSystemView : UserControl
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
|
@ -7,10 +7,10 @@ using System.Collections.Generic;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
|
|
||||||
namespace Ryujinx.Ava.UI.Views.Settings;
|
namespace Ryujinx.Ava.UI.Views.Settings
|
||||||
|
|
||||||
public partial class SettingsUIView : UserControl
|
|
||||||
{
|
{
|
||||||
|
public partial class SettingsUIView : UserControl
|
||||||
|
{
|
||||||
public SettingsViewModel ViewModel;
|
public SettingsViewModel ViewModel;
|
||||||
|
|
||||||
public SettingsUIView()
|
public SettingsUIView()
|
||||||
|
@ -78,4 +78,5 @@ public partial class SettingsUIView : UserControl
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
Loading…
Reference in a new issue