2023-07-19 07:24:34 +08:00
|
|
|
// 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.
|
|
|
|
|
2023-07-21 06:01:14 +08:00
|
|
|
using System;
|
2023-07-19 07:24:34 +08:00
|
|
|
using osu.Framework.Graphics.Sprites;
|
|
|
|
using osu.Game.Overlays.Dialog;
|
|
|
|
|
|
|
|
namespace osu.Game.Tournament.Screens.Editors.Components
|
|
|
|
{
|
|
|
|
public partial class TournamentClearAllDialog : DangerousActionDialog
|
|
|
|
{
|
2023-07-21 06:01:14 +08:00
|
|
|
public TournamentClearAllDialog(Action action)
|
2023-07-19 07:24:34 +08:00
|
|
|
{
|
2023-07-21 05:33:43 +08:00
|
|
|
HeaderText = @"Clear all?";
|
2023-07-19 07:24:34 +08:00
|
|
|
Icon = FontAwesome.Solid.Trash;
|
2023-07-21 06:01:14 +08:00
|
|
|
DangerousAction = action;
|
2023-07-19 07:24:34 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|