mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-12-30 02:16:01 +00:00
6e02cac952
* remove content dialog placeholder from all windows * remove redundant window argument * redesign user profile window * wip * use avalonia auto name generator * add edit and new user options * move profile image selection to content dialog * remove usings * fix updater * address review * adjust avatar dialog size * add validation for user editor * fix typo * Shorten some labels
25 lines
No EOL
617 B
C#
25 lines
No EOL
617 B
C#
using Avalonia;
|
|
using Avalonia.Controls;
|
|
using Avalonia.Markup.Xaml;
|
|
using Ryujinx.Ava.Ui.Windows;
|
|
|
|
namespace Ryujinx.Ava.Ui.Controls
|
|
{
|
|
public partial class UpdateWaitWindow : StyleableWindow
|
|
{
|
|
public UpdateWaitWindow(string primaryText, string secondaryText) : this()
|
|
{
|
|
PrimaryText.Text = primaryText;
|
|
SecondaryText.Text = secondaryText;
|
|
WindowStartupLocation = WindowStartupLocation.CenterOwner;
|
|
}
|
|
|
|
public UpdateWaitWindow()
|
|
{
|
|
InitializeComponent();
|
|
#if DEBUG
|
|
this.AttachDevTools();
|
|
#endif
|
|
}
|
|
}
|
|
} |