mirror of
https://github.com/ppy/osu.git
synced 2024-12-15 03:22:55 +08:00
3fc888ef95
Right now makes use of another ActionableInfo field. Probably a better idea to add an extra button to the Current IPC Storage actionable field.
28 lines
825 B
C#
28 lines
825 B
C#
// 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(); }
|
|
}
|
|
};
|
|
}
|
|
}
|
|
}
|