Add the Cabinet Applet

This adds the missing Cabinet Applet, which allows for formatting
Amiibos and changing their names.
This commit is contained in:
Jacobwasbeast 2024-12-02 23:40:02 -06:00 committed by KeatonTheBot
parent 7ea2e0f34c
commit 8604df0f1c
24 changed files with 337 additions and 3 deletions

View file

@ -25,7 +25,19 @@ namespace Ryujinx.HLE.UI
bool DisplayMessageDialog(ControllerAppletUIArgs args);
/// <summary>
/// Tell the UI that we need to transisition to another program.
/// Displays an Input Dialog box to the user so they can enter the Amiibo's new name
/// </summary>
/// <param name="userText">Text that the user entered. Set to `null` on internal errors</param>
/// <returns>True when OK is pressed, False otherwise. Also returns True on internal errors</returns>
bool DisplayCabinetDialog(out string userText);
/// <summary>
/// Displays a Message Dialog box to the user to notify them to scan the Amiibo.
/// </summary>
void DisplayCabinetMessageDialog();
/// <summary>
/// Tell the UI that we need to transition to another program.
/// </summary>
/// <param name="device">The device instance.</param>
/// <param name="kind">The program kind.</param>