ryubing-ryujinx/src/Ryujinx/UI/SetupWizard/SetupWizardPageContext.cs
GreemDev 3b25c43abf reorganize RyujinxSetupWizard
additionally, the CreateHelpContent method is now no longer locked to returning an Avalonia `Control`.
the WithHelpContent method also has logic to handle it returning a string directly, and will wrap it in a textblock with h1 style and size 20 font. otherwise it's up to the ContentPresenter for the help content to choose how to display it if it's none of the above mentioned types.
2025-12-19 23:15:23 -06:00

19 lines
448 B
C#

using Gommon;
using Ryujinx.Ava.UI.Helpers;
using Ryujinx.Ava.UI.ViewModels;
namespace Ryujinx.Ava.UI.SetupWizard
{
public abstract class SetupWizardPageContext : BaseModel
{
public RyujinxNotificationManager NotificationManager { get; init; }
public abstract Result CompleteStep();
#nullable enable
public virtual object? CreateHelpContent()
#nullable disable
{
return null;
}
}
}