mirror of
https://github.com/osukey/osukey.git
synced 2025-08-05 07:33:55 +09:00
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:
27
osu.Game.Tournament/Components/IPCNotFoundDialog.cs
Normal file
27
osu.Game.Tournament/Components/IPCNotFoundDialog.cs
Normal 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(); }
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user