mirror of
https://git.naxdy.org/Mirror/Ryujinx.git
synced 2025-03-14 09:50:17 +00:00
change accessibility modifier of public classes to internal
This commit is contained in:
parent
9c6fc1c650
commit
dcc1eb4ca5
53 changed files with 54 additions and 54 deletions
|
@ -16,7 +16,7 @@ using System.IO;
|
||||||
|
|
||||||
namespace Ryujinx.Ava
|
namespace Ryujinx.Ava
|
||||||
{
|
{
|
||||||
public class App : Avalonia.Application
|
internal class App : Avalonia.Application
|
||||||
{
|
{
|
||||||
public override void Initialize()
|
public override void Initialize()
|
||||||
{
|
{
|
||||||
|
|
|
@ -50,7 +50,7 @@ using WindowState = Avalonia.Controls.WindowState;
|
||||||
|
|
||||||
namespace Ryujinx.Ava
|
namespace Ryujinx.Ava
|
||||||
{
|
{
|
||||||
public class AppHost
|
internal class AppHost
|
||||||
{
|
{
|
||||||
private const int CursorHideIdleTime = 8; // Hide Cursor seconds
|
private const int CursorHideIdleTime = 8; // Hide Cursor seconds
|
||||||
|
|
||||||
|
|
|
@ -28,7 +28,7 @@ using Path = System.IO.Path;
|
||||||
|
|
||||||
namespace Ryujinx.Ava.Common
|
namespace Ryujinx.Ava.Common
|
||||||
{
|
{
|
||||||
public static class ApplicationHelper
|
internal static class ApplicationHelper
|
||||||
{
|
{
|
||||||
private static HorizonClient _horizonClient;
|
private static HorizonClient _horizonClient;
|
||||||
private static AccountManager _accountManager;
|
private static AccountManager _accountManager;
|
||||||
|
|
|
@ -5,7 +5,7 @@ using System;
|
||||||
|
|
||||||
namespace Ryujinx.Ava.Common.Locale
|
namespace Ryujinx.Ava.Common.Locale
|
||||||
{
|
{
|
||||||
public class LocaleExtension : MarkupExtension
|
internal class LocaleExtension : MarkupExtension
|
||||||
{
|
{
|
||||||
public LocaleExtension(string key)
|
public LocaleExtension(string key)
|
||||||
{
|
{
|
||||||
|
|
|
@ -10,7 +10,7 @@ using Key = Ryujinx.Input.Key;
|
||||||
|
|
||||||
namespace Ryujinx.Ava.Input
|
namespace Ryujinx.Ava.Input
|
||||||
{
|
{
|
||||||
public class AvaloniaKeyboard : IKeyboard
|
internal class AvaloniaKeyboard : IKeyboard
|
||||||
{
|
{
|
||||||
private readonly List<ButtonMappingEntry> _buttonsUserMapping;
|
private readonly List<ButtonMappingEntry> _buttonsUserMapping;
|
||||||
private readonly AvaloniaKeyboardDriver _driver;
|
private readonly AvaloniaKeyboardDriver _driver;
|
||||||
|
|
|
@ -10,7 +10,7 @@ using Key = Ryujinx.Input.Key;
|
||||||
|
|
||||||
namespace Ryujinx.Ava.Input
|
namespace Ryujinx.Ava.Input
|
||||||
{
|
{
|
||||||
public class AvaloniaKeyboardDriver : IGamepadDriver
|
internal class AvaloniaKeyboardDriver : IGamepadDriver
|
||||||
{
|
{
|
||||||
private static readonly string[] _keyboardIdentifers = new string[1] { "0" };
|
private static readonly string[] _keyboardIdentifers = new string[1] { "0" };
|
||||||
private readonly Control _control;
|
private readonly Control _control;
|
||||||
|
|
|
@ -5,7 +5,7 @@ using AvaKey = Avalonia.Input.Key;
|
||||||
|
|
||||||
namespace Ryujinx.Ava.Input
|
namespace Ryujinx.Ava.Input
|
||||||
{
|
{
|
||||||
public static class AvaloniaMappingHelper
|
internal static class AvaloniaMappingHelper
|
||||||
{
|
{
|
||||||
private static readonly AvaKey[] _keyMapping = new AvaKey[(int)Key.Count]
|
private static readonly AvaKey[] _keyMapping = new AvaKey[(int)Key.Count]
|
||||||
{
|
{
|
||||||
|
|
|
@ -6,7 +6,7 @@ using System.Numerics;
|
||||||
|
|
||||||
namespace Ryujinx.Ava.Input
|
namespace Ryujinx.Ava.Input
|
||||||
{
|
{
|
||||||
public class AvaloniaMouse : IMouse
|
internal class AvaloniaMouse : IMouse
|
||||||
{
|
{
|
||||||
private AvaloniaMouseDriver _driver;
|
private AvaloniaMouseDriver _driver;
|
||||||
|
|
||||||
|
|
|
@ -9,7 +9,7 @@ using Size = System.Drawing.Size;
|
||||||
|
|
||||||
namespace Ryujinx.Ava.Input
|
namespace Ryujinx.Ava.Input
|
||||||
{
|
{
|
||||||
public class AvaloniaMouseDriver : IGamepadDriver
|
internal class AvaloniaMouseDriver : IGamepadDriver
|
||||||
{
|
{
|
||||||
private Control _widget;
|
private Control _widget;
|
||||||
private bool _isDisposed;
|
private bool _isDisposed;
|
||||||
|
|
|
@ -23,7 +23,7 @@ using System.Threading.Tasks;
|
||||||
|
|
||||||
namespace Ryujinx.Modules
|
namespace Ryujinx.Modules
|
||||||
{
|
{
|
||||||
public static class Updater
|
internal static class Updater
|
||||||
{
|
{
|
||||||
private const string GitHubApiURL = "https://api.github.com";
|
private const string GitHubApiURL = "https://api.github.com";
|
||||||
internal static bool Running;
|
internal static bool Running;
|
||||||
|
|
|
@ -9,7 +9,7 @@ using System.Threading.Tasks;
|
||||||
|
|
||||||
namespace Ryujinx.Ava.Ui.Applet
|
namespace Ryujinx.Ava.Ui.Applet
|
||||||
{
|
{
|
||||||
public class ErrorAppletWindow : StyleableWindow
|
internal class ErrorAppletWindow : StyleableWindow
|
||||||
{
|
{
|
||||||
private readonly Window _owner;
|
private readonly Window _owner;
|
||||||
private object _buttonResponse;
|
private object _buttonResponse;
|
||||||
|
|
|
@ -13,7 +13,7 @@ using System.Threading.Tasks;
|
||||||
|
|
||||||
namespace Ryujinx.Ava.Ui.Controls
|
namespace Ryujinx.Ava.Ui.Controls
|
||||||
{
|
{
|
||||||
public class SwkbdAppletDialog : UserControl
|
internal class SwkbdAppletDialog : UserControl
|
||||||
{
|
{
|
||||||
private Predicate<int> _checkLength;
|
private Predicate<int> _checkLength;
|
||||||
private int _inputMax;
|
private int _inputMax;
|
||||||
|
|
|
@ -3,7 +3,7 @@ using Ryujinx.Ui.App.Common;
|
||||||
|
|
||||||
namespace Ryujinx.Ava.Ui.Controls
|
namespace Ryujinx.Ava.Ui.Controls
|
||||||
{
|
{
|
||||||
public class ApplicationOpenedEventArgs : RoutedEventArgs
|
internal class ApplicationOpenedEventArgs : RoutedEventArgs
|
||||||
{
|
{
|
||||||
public ApplicationData Application { get; }
|
public ApplicationData Application { get; }
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@ using System.Runtime.Versioning;
|
||||||
namespace Ryujinx.Ava.Ui.Controls
|
namespace Ryujinx.Ava.Ui.Controls
|
||||||
{
|
{
|
||||||
[SupportedOSPlatform("linux")]
|
[SupportedOSPlatform("linux")]
|
||||||
public class AvaloniaGlxContext : SPB.Platform.GLX.GLXOpenGLContext
|
internal class AvaloniaGlxContext : SPB.Platform.GLX.GLXOpenGLContext
|
||||||
{
|
{
|
||||||
public AvaloniaGlxContext(IntPtr handle)
|
public AvaloniaGlxContext(IntPtr handle)
|
||||||
: base(FramebufferFormat.Default, 0, 0, 0, false, null)
|
: base(FramebufferFormat.Default, 0, 0, 0, false, null)
|
||||||
|
|
|
@ -5,7 +5,7 @@ using System.Runtime.Versioning;
|
||||||
namespace Ryujinx.Ava.Ui.Controls
|
namespace Ryujinx.Ava.Ui.Controls
|
||||||
{
|
{
|
||||||
[SupportedOSPlatform("windows")]
|
[SupportedOSPlatform("windows")]
|
||||||
public class AvaloniaWglContext : SPB.Platform.WGL.WGLOpenGLContext
|
internal class AvaloniaWglContext : SPB.Platform.WGL.WGLOpenGLContext
|
||||||
{
|
{
|
||||||
public AvaloniaWglContext(IntPtr handle)
|
public AvaloniaWglContext(IntPtr handle)
|
||||||
: base(FramebufferFormat.Default, 0, 0, 0, false, null)
|
: base(FramebufferFormat.Default, 0, 0, 0, false, null)
|
||||||
|
|
|
@ -7,7 +7,7 @@ using System.IO;
|
||||||
|
|
||||||
namespace Ryujinx.Ava.Ui.Controls
|
namespace Ryujinx.Ava.Ui.Controls
|
||||||
{
|
{
|
||||||
public class BitmapArrayValueConverter : IValueConverter
|
internal class BitmapArrayValueConverter : IValueConverter
|
||||||
{
|
{
|
||||||
public static BitmapArrayValueConverter Instance = new();
|
public static BitmapArrayValueConverter Instance = new();
|
||||||
|
|
||||||
|
|
|
@ -10,9 +10,9 @@ using System.Threading.Tasks;
|
||||||
|
|
||||||
namespace Ryujinx.Ava.Ui.Controls
|
namespace Ryujinx.Ava.Ui.Controls
|
||||||
{
|
{
|
||||||
public class ButtonKeyAssigner
|
internal class ButtonKeyAssigner
|
||||||
{
|
{
|
||||||
public class ButtonAssignedEventArgs : EventArgs
|
internal class ButtonAssignedEventArgs : EventArgs
|
||||||
{
|
{
|
||||||
public ToggleButton Button { get; }
|
public ToggleButton Button { get; }
|
||||||
public bool IsAssigned { get; }
|
public bool IsAssigned { get; }
|
||||||
|
|
|
@ -11,7 +11,7 @@ using System.Threading.Tasks;
|
||||||
|
|
||||||
namespace Ryujinx.Ava.Ui.Controls
|
namespace Ryujinx.Ava.Ui.Controls
|
||||||
{
|
{
|
||||||
public static class ContentDialogHelper
|
internal static class ContentDialogHelper
|
||||||
{
|
{
|
||||||
private static bool _isChoiceDialogOpen;
|
private static bool _isChoiceDialogOpen;
|
||||||
|
|
||||||
|
|
|
@ -10,7 +10,7 @@ using System;
|
||||||
|
|
||||||
namespace Ryujinx.Ava.Ui.Controls
|
namespace Ryujinx.Ava.Ui.Controls
|
||||||
{
|
{
|
||||||
public partial class GameGridView : UserControl
|
internal partial class GameGridView : UserControl
|
||||||
{
|
{
|
||||||
private ApplicationData _selectedApplication;
|
private ApplicationData _selectedApplication;
|
||||||
public static readonly RoutedEvent<ApplicationOpenedEventArgs> ApplicationOpenedEvent =
|
public static readonly RoutedEvent<ApplicationOpenedEventArgs> ApplicationOpenedEvent =
|
||||||
|
|
|
@ -10,7 +10,7 @@ using System;
|
||||||
|
|
||||||
namespace Ryujinx.Ava.Ui.Controls
|
namespace Ryujinx.Ava.Ui.Controls
|
||||||
{
|
{
|
||||||
public partial class GameListView : UserControl
|
internal partial class GameListView : UserControl
|
||||||
{
|
{
|
||||||
private ApplicationData _selectedApplication;
|
private ApplicationData _selectedApplication;
|
||||||
public static readonly RoutedEvent<ApplicationOpenedEventArgs> ApplicationOpenedEvent =
|
public static readonly RoutedEvent<ApplicationOpenedEventArgs> ApplicationOpenedEvent =
|
||||||
|
|
|
@ -6,7 +6,7 @@ using System.Collections.Generic;
|
||||||
|
|
||||||
namespace Ryujinx.Ava.Ui.Controls
|
namespace Ryujinx.Ava.Ui.Controls
|
||||||
{
|
{
|
||||||
public class GlyphValueConverter : MarkupExtension
|
internal class GlyphValueConverter : MarkupExtension
|
||||||
{
|
{
|
||||||
private string _key;
|
private string _key;
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@ using System.Windows.Input;
|
||||||
|
|
||||||
namespace Ryujinx.Ava.Ui.Controls
|
namespace Ryujinx.Ava.Ui.Controls
|
||||||
{
|
{
|
||||||
public class HotKeyControl : ContentControl, ICommandSource
|
internal class HotKeyControl : ContentControl, ICommandSource
|
||||||
{
|
{
|
||||||
public static readonly StyledProperty<object> CommandParameterProperty =
|
public static readonly StyledProperty<object> CommandParameterProperty =
|
||||||
AvaloniaProperty.Register<HotKeyControl, object>(nameof(CommandParameter));
|
AvaloniaProperty.Register<HotKeyControl, object>(nameof(CommandParameter));
|
||||||
|
|
|
@ -4,7 +4,7 @@ using System;
|
||||||
|
|
||||||
namespace Ryujinx.Ava.Ui.Controls
|
namespace Ryujinx.Ava.Ui.Controls
|
||||||
{
|
{
|
||||||
public static class IGlContextExtension
|
internal static class IGlContextExtension
|
||||||
{
|
{
|
||||||
public static OpenGLContextBase AsOpenGLContextBase(this IGlContext context)
|
public static OpenGLContextBase AsOpenGLContextBase(this IGlContext context)
|
||||||
{
|
{
|
||||||
|
|
|
@ -8,7 +8,7 @@ using System.Threading.Tasks;
|
||||||
|
|
||||||
namespace Ryujinx.Ava.Ui.Controls
|
namespace Ryujinx.Ava.Ui.Controls
|
||||||
{
|
{
|
||||||
public class InputDialog : UserControl
|
internal class InputDialog : UserControl
|
||||||
{
|
{
|
||||||
public string Message { get; set; }
|
public string Message { get; set; }
|
||||||
public string Input { get; set; }
|
public string Input { get; set; }
|
||||||
|
|
|
@ -6,7 +6,7 @@ using System.Globalization;
|
||||||
|
|
||||||
namespace Ryujinx.Ava.Ui.Controls
|
namespace Ryujinx.Ava.Ui.Controls
|
||||||
{
|
{
|
||||||
public class KeyValueConverter : IValueConverter
|
internal class KeyValueConverter : IValueConverter
|
||||||
{
|
{
|
||||||
public static KeyValueConverter Instance = new();
|
public static KeyValueConverter Instance = new();
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@ using Avalonia.Interactivity;
|
||||||
|
|
||||||
namespace Ryujinx.Ava.Ui.Controls
|
namespace Ryujinx.Ava.Ui.Controls
|
||||||
{
|
{
|
||||||
public class OffscreenTextBox : TextBox
|
internal class OffscreenTextBox : TextBox
|
||||||
{
|
{
|
||||||
public RoutedEvent<KeyEventArgs> GetKeyDownRoutedEvent()
|
public RoutedEvent<KeyEventArgs> GetKeyDownRoutedEvent()
|
||||||
{
|
{
|
||||||
|
|
|
@ -3,7 +3,7 @@ using System;
|
||||||
|
|
||||||
namespace Ryujinx.Ava.Ui.Controls
|
namespace Ryujinx.Ava.Ui.Controls
|
||||||
{
|
{
|
||||||
public class OpenToolkitBindingsContext : IBindingsContext
|
internal class OpenToolkitBindingsContext : IBindingsContext
|
||||||
{
|
{
|
||||||
private readonly Func<string, IntPtr> _getProcAddress;
|
private readonly Func<string, IntPtr> _getProcAddress;
|
||||||
|
|
||||||
|
|
|
@ -18,7 +18,7 @@ using System;
|
||||||
|
|
||||||
namespace Ryujinx.Ava.Ui.Controls
|
namespace Ryujinx.Ava.Ui.Controls
|
||||||
{
|
{
|
||||||
public class RendererControl : Control
|
internal class RendererControl : Control
|
||||||
{
|
{
|
||||||
private int _image;
|
private int _image;
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@ using Ryujinx.Ava.Ui.Windows;
|
||||||
|
|
||||||
namespace Ryujinx.Ava.Ui.Controls
|
namespace Ryujinx.Ava.Ui.Controls
|
||||||
{
|
{
|
||||||
public class UpdateWaitWindow : StyleableWindow
|
internal class UpdateWaitWindow : StyleableWindow
|
||||||
{
|
{
|
||||||
public UpdateWaitWindow(string primaryText, string secondaryText) : this()
|
public UpdateWaitWindow(string primaryText, string secondaryText) : this()
|
||||||
{
|
{
|
||||||
|
|
|
@ -2,5 +2,5 @@
|
||||||
|
|
||||||
namespace Ryujinx.Ava.Ui.Models
|
namespace Ryujinx.Ava.Ui.Models
|
||||||
{
|
{
|
||||||
public record ControllerModel(ControllerType Type, string Name);
|
internal record ControllerModel(ControllerType Type, string Name);
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,7 +3,7 @@ using System.Collections;
|
||||||
|
|
||||||
namespace Ryujinx.Ava.Ui.Models
|
namespace Ryujinx.Ava.Ui.Models
|
||||||
{
|
{
|
||||||
public class FileSizeSortComparer : IComparer
|
internal class FileSizeSortComparer : IComparer
|
||||||
{
|
{
|
||||||
public int Compare(object x, object y)
|
public int Compare(object x, object y)
|
||||||
{
|
{
|
||||||
|
|
|
@ -3,7 +3,7 @@ using System.Collections.Generic;
|
||||||
|
|
||||||
namespace Ryujinx.Ava.Ui.Models.Generic
|
namespace Ryujinx.Ava.Ui.Models.Generic
|
||||||
{
|
{
|
||||||
public class FileSizeSortComparer : IComparer<ApplicationData>
|
internal class FileSizeSortComparer : IComparer<ApplicationData>
|
||||||
{
|
{
|
||||||
public FileSizeSortComparer() { }
|
public FileSizeSortComparer() { }
|
||||||
public FileSizeSortComparer(bool isAscending) { _order = isAscending ? 1 : -1; }
|
public FileSizeSortComparer(bool isAscending) { _order = isAscending ? 1 : -1; }
|
||||||
|
|
|
@ -5,7 +5,7 @@ using System.Collections.Generic;
|
||||||
|
|
||||||
namespace Ryujinx.Ava.Ui.Models.Generic
|
namespace Ryujinx.Ava.Ui.Models.Generic
|
||||||
{
|
{
|
||||||
public class LastPlayedSortComparer : IComparer<ApplicationData>
|
internal class LastPlayedSortComparer : IComparer<ApplicationData>
|
||||||
{
|
{
|
||||||
public LastPlayedSortComparer() { }
|
public LastPlayedSortComparer() { }
|
||||||
public LastPlayedSortComparer(bool isAscending) { IsAscending = isAscending; }
|
public LastPlayedSortComparer(bool isAscending) { IsAscending = isAscending; }
|
||||||
|
|
|
@ -3,7 +3,7 @@ using System.Collections.Generic;
|
||||||
|
|
||||||
namespace Ryujinx.Ava.Ui.Models.Generic
|
namespace Ryujinx.Ava.Ui.Models.Generic
|
||||||
{
|
{
|
||||||
public class TimePlayedSortComparer : IComparer<ApplicationData>
|
internal class TimePlayedSortComparer : IComparer<ApplicationData>
|
||||||
{
|
{
|
||||||
public TimePlayedSortComparer() { }
|
public TimePlayedSortComparer() { }
|
||||||
public TimePlayedSortComparer(bool isAscending) { _order = isAscending ? 1 : -1; }
|
public TimePlayedSortComparer(bool isAscending) { _order = isAscending ? 1 : -1; }
|
||||||
|
|
|
@ -7,7 +7,7 @@ using System;
|
||||||
|
|
||||||
namespace Ryujinx.Ava.Ui.Models
|
namespace Ryujinx.Ava.Ui.Models
|
||||||
{
|
{
|
||||||
public class InputConfiguration<Key, Stick> : BaseModel
|
internal class InputConfiguration<Key, Stick> : BaseModel
|
||||||
{
|
{
|
||||||
private float _deadzoneRight;
|
private float _deadzoneRight;
|
||||||
private float _triggerThreshold;
|
private float _triggerThreshold;
|
||||||
|
|
|
@ -4,7 +4,7 @@ using System.Collections;
|
||||||
|
|
||||||
namespace Ryujinx.Ava.Ui.Models
|
namespace Ryujinx.Ava.Ui.Models
|
||||||
{
|
{
|
||||||
public class LastPlayedSortComparer : IComparer
|
internal class LastPlayedSortComparer : IComparer
|
||||||
{
|
{
|
||||||
public int Compare(object x, object y)
|
public int Compare(object x, object y)
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
namespace Ryujinx.Ava.Ui.Models
|
namespace Ryujinx.Ava.Ui.Models
|
||||||
{
|
{
|
||||||
public class ProfileImageModel
|
internal class ProfileImageModel
|
||||||
{
|
{
|
||||||
public ProfileImageModel(string name, byte[] data)
|
public ProfileImageModel(string name, byte[] data)
|
||||||
{
|
{
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
namespace Ryujinx.Ava.Ui.Models
|
namespace Ryujinx.Ava.Ui.Models
|
||||||
{
|
{
|
||||||
public class StatusUpdatedEventArgs : EventArgs
|
internal class StatusUpdatedEventArgs : EventArgs
|
||||||
{
|
{
|
||||||
public bool VSyncEnabled { get; }
|
public bool VSyncEnabled { get; }
|
||||||
public float Volume { get; }
|
public float Volume { get; }
|
||||||
|
|
|
@ -3,7 +3,7 @@ using System.Collections;
|
||||||
|
|
||||||
namespace Ryujinx.Ava.Ui.Models
|
namespace Ryujinx.Ava.Ui.Models
|
||||||
{
|
{
|
||||||
public class TimePlayedSortComparer : IComparer
|
internal class TimePlayedSortComparer : IComparer
|
||||||
{
|
{
|
||||||
public int Compare(object x, object y)
|
public int Compare(object x, object y)
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
namespace Ryujinx.Ava.Ui.Models
|
namespace Ryujinx.Ava.Ui.Models
|
||||||
{
|
{
|
||||||
public class TimeZone
|
internal class TimeZone
|
||||||
{
|
{
|
||||||
public TimeZone(string utcDifference, string location, string abbreviation)
|
public TimeZone(string utcDifference, string location, string abbreviation)
|
||||||
{
|
{
|
||||||
|
|
|
@ -3,7 +3,7 @@ using Ryujinx.Ava.Common.Locale;
|
||||||
|
|
||||||
namespace Ryujinx.Ava.Ui.Models
|
namespace Ryujinx.Ava.Ui.Models
|
||||||
{
|
{
|
||||||
public class TitleUpdateModel
|
internal class TitleUpdateModel
|
||||||
{
|
{
|
||||||
public bool IsEnabled { get; set; }
|
public bool IsEnabled { get; set; }
|
||||||
public bool IsNoUpdate { get; }
|
public bool IsNoUpdate { get; }
|
||||||
|
|
|
@ -3,7 +3,7 @@ using System.Runtime.CompilerServices;
|
||||||
|
|
||||||
namespace Ryujinx.Ava.Ui.ViewModels
|
namespace Ryujinx.Ava.Ui.ViewModels
|
||||||
{
|
{
|
||||||
public class BaseModel : INotifyPropertyChanged
|
internal class BaseModel : INotifyPropertyChanged
|
||||||
{
|
{
|
||||||
public event PropertyChangedEventHandler PropertyChanged;
|
public event PropertyChangedEventHandler PropertyChanged;
|
||||||
|
|
||||||
|
|
|
@ -32,7 +32,7 @@ using Key = Ryujinx.Common.Configuration.Hid.Key;
|
||||||
|
|
||||||
namespace Ryujinx.Ava.Ui.ViewModels
|
namespace Ryujinx.Ava.Ui.ViewModels
|
||||||
{
|
{
|
||||||
public class ControllerSettingsViewModel : BaseModel, IDisposable
|
internal class ControllerSettingsViewModel : BaseModel, IDisposable
|
||||||
{
|
{
|
||||||
private const string Disabled = "disabled";
|
private const string Disabled = "disabled";
|
||||||
private const string ProControllerResource = "Ryujinx.Ui.Common/Resources/Controller_ProCon.svg";
|
private const string ProControllerResource = "Ryujinx.Ui.Common/Resources/Controller_ProCon.svg";
|
||||||
|
|
|
@ -36,7 +36,7 @@ using ShaderCacheLoadingState = Ryujinx.Graphics.Gpu.Shader.ShaderCacheState;
|
||||||
|
|
||||||
namespace Ryujinx.Ava.Ui.ViewModels
|
namespace Ryujinx.Ava.Ui.ViewModels
|
||||||
{
|
{
|
||||||
public class MainWindowViewModel : BaseModel
|
internal class MainWindowViewModel : BaseModel
|
||||||
{
|
{
|
||||||
private readonly MainWindow _owner;
|
private readonly MainWindow _owner;
|
||||||
private ObservableCollection<ApplicationData> _applications;
|
private ObservableCollection<ApplicationData> _applications;
|
||||||
|
|
|
@ -24,7 +24,7 @@ using TimeZone = Ryujinx.Ava.Ui.Models.TimeZone;
|
||||||
|
|
||||||
namespace Ryujinx.Ava.Ui.ViewModels
|
namespace Ryujinx.Ava.Ui.ViewModels
|
||||||
{
|
{
|
||||||
public class SettingsViewModel : BaseModel
|
internal class SettingsViewModel : BaseModel
|
||||||
{
|
{
|
||||||
private readonly VirtualFileSystem _virtualFileSystem;
|
private readonly VirtualFileSystem _virtualFileSystem;
|
||||||
private readonly ContentManager _contentManager;
|
private readonly ContentManager _contentManager;
|
||||||
|
|
|
@ -13,7 +13,7 @@ using System.Threading.Tasks;
|
||||||
|
|
||||||
namespace Ryujinx.Ava.Ui.Windows
|
namespace Ryujinx.Ava.Ui.Windows
|
||||||
{
|
{
|
||||||
public class AboutWindow : StyleableWindow
|
internal class AboutWindow : StyleableWindow
|
||||||
{
|
{
|
||||||
public AboutWindow()
|
public AboutWindow()
|
||||||
{
|
{
|
||||||
|
|
|
@ -23,7 +23,7 @@ using Key = Ryujinx.Input.Key;
|
||||||
|
|
||||||
namespace Ryujinx.Ava.Ui.Windows
|
namespace Ryujinx.Ava.Ui.Windows
|
||||||
{
|
{
|
||||||
public class ControllerSettingsWindow : UserControl
|
internal class ControllerSettingsWindow : UserControl
|
||||||
{
|
{
|
||||||
private bool _dialogOpen;
|
private bool _dialogOpen;
|
||||||
|
|
||||||
|
|
|
@ -36,7 +36,7 @@ using InputManager = Ryujinx.Input.HLE.InputManager;
|
||||||
using ProgressBar = Avalonia.Controls.ProgressBar;
|
using ProgressBar = Avalonia.Controls.ProgressBar;
|
||||||
namespace Ryujinx.Ava.Ui.Windows
|
namespace Ryujinx.Ava.Ui.Windows
|
||||||
{
|
{
|
||||||
public class MainWindow : StyleableWindow
|
internal class MainWindow : StyleableWindow
|
||||||
{
|
{
|
||||||
private bool _canUpdate;
|
private bool _canUpdate;
|
||||||
private bool _isClosing;
|
private bool _isClosing;
|
||||||
|
|
|
@ -9,7 +9,7 @@ using System.Threading.Tasks;
|
||||||
|
|
||||||
namespace Ryujinx.Ava.Ui.Windows
|
namespace Ryujinx.Ava.Ui.Windows
|
||||||
{
|
{
|
||||||
public class MotionSettingsWindow : UserControl
|
internal class MotionSettingsWindow : UserControl
|
||||||
{
|
{
|
||||||
private readonly InputConfiguration<GamepadInputId, StickInputId> _viewmodel;
|
private readonly InputConfiguration<GamepadInputId, StickInputId> _viewmodel;
|
||||||
|
|
||||||
|
|
|
@ -9,7 +9,7 @@ using System.Threading.Tasks;
|
||||||
|
|
||||||
namespace Ryujinx.Ava.Ui.Windows
|
namespace Ryujinx.Ava.Ui.Windows
|
||||||
{
|
{
|
||||||
public class RumbleSettingsWindow : UserControl
|
internal class RumbleSettingsWindow : UserControl
|
||||||
{
|
{
|
||||||
private readonly InputConfiguration<GamepadInputId, StickInputId> _viewmodel;
|
private readonly InputConfiguration<GamepadInputId, StickInputId> _viewmodel;
|
||||||
|
|
||||||
|
|
|
@ -28,7 +28,7 @@ using TimeZone = Ryujinx.Ava.Ui.Models.TimeZone;
|
||||||
|
|
||||||
namespace Ryujinx.Ava.Ui.Windows
|
namespace Ryujinx.Ava.Ui.Windows
|
||||||
{
|
{
|
||||||
public class SettingsWindow : StyleableWindow
|
internal class SettingsWindow : StyleableWindow
|
||||||
{
|
{
|
||||||
private ListBox _gameList;
|
private ListBox _gameList;
|
||||||
private TextBox _pathBox;
|
private TextBox _pathBox;
|
||||||
|
|
|
@ -9,7 +9,7 @@ using System.Reflection;
|
||||||
|
|
||||||
namespace Ryujinx.Ava.Ui.Windows
|
namespace Ryujinx.Ava.Ui.Windows
|
||||||
{
|
{
|
||||||
public class StyleableWindow : Window
|
internal class StyleableWindow : Window
|
||||||
{
|
{
|
||||||
public ContentDialog ContentDialog { get; private set; }
|
public ContentDialog ContentDialog { get; private set; }
|
||||||
public IBitmap IconImage { get; set; }
|
public IBitmap IconImage { get; set; }
|
||||||
|
|
|
@ -11,7 +11,7 @@ using System.Runtime.InteropServices;
|
||||||
|
|
||||||
namespace Ryujinx.Ava.Ui.Windows
|
namespace Ryujinx.Ava.Ui.Windows
|
||||||
{
|
{
|
||||||
public class UpdaterWindow : StyleableWindow
|
internal class UpdaterWindow : StyleableWindow
|
||||||
{
|
{
|
||||||
private readonly string _buildUrl;
|
private readonly string _buildUrl;
|
||||||
private readonly MainWindow _mainWindow;
|
private readonly MainWindow _mainWindow;
|
||||||
|
|
Loading…
Reference in a new issue