mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-07-12 13:06:28 +02:00
misc: Created generic type RyujinxControl to allow for more unified control view model definitions
This commit is contained in:
parent
69d79322bb
commit
da3f4e1d3a
25 changed files with 136 additions and 155 deletions
|
@ -6,6 +6,7 @@ using Gommon;
|
|||
using LibHac.Common;
|
||||
using LibHac.Ns;
|
||||
using Ryujinx.Ava.Common.Locale;
|
||||
using Ryujinx.Ava.UI.Controls;
|
||||
using Ryujinx.Ava.UI.Helpers;
|
||||
using Ryujinx.Ava.UI.ViewModels;
|
||||
using Ryujinx.Ava.UI.Windows;
|
||||
|
@ -25,10 +26,9 @@ using System.Threading.Tasks;
|
|||
|
||||
namespace Ryujinx.Ava.UI.Views.Main
|
||||
{
|
||||
public partial class MainMenuBarView : UserControl
|
||||
public partial class MainMenuBarView : RyujinxControl<MainWindowViewModel>
|
||||
{
|
||||
public MainWindow Window { get; private set; }
|
||||
public MainWindowViewModel ViewModel { get; private set; }
|
||||
|
||||
public MainMenuBarView()
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue