User interface setup for custom IPC location

Right now makes use of another ActionableInfo field. Probably a better idea to add an extra button to the Current IPC Storage actionable field.
This commit is contained in:
Shivam
2020-05-16 03:03:10 +02:00
parent 9944a514da
commit 3fc888ef95
3 changed files with 207 additions and 3 deletions

View File

@ -0,0 +1,27 @@
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Graphics.Sprites;
using osu.Game.Overlays.Dialog;
namespace osu.Game.Tournament.Components
{
public class IPCNotFoundDialog : PopupDialog
{
public IPCNotFoundDialog()
{
BodyText = "Select a directory that contains an osu! Cutting Edge installation";
Icon = FontAwesome.Regular.Angry;
HeaderText = @"This is an invalid IPC Directory!";
Buttons = new PopupDialogButton[]
{
new PopupDialogOkButton
{
Text = @"Alright.",
Action = () => { Expire(); }
}
};
}
}
}