2019-01-24 17:43:03 +09: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.
|
2018-04-13 18:19:50 +09:00
|
|
|
|
|
2017-12-08 14:27:07 +01:00
|
|
|
|
using System;
|
2024-10-07 16:44:10 +09:00
|
|
|
|
using osu.Framework.Graphics.Sprites;
|
2024-05-06 18:11:40 +02:00
|
|
|
|
using osu.Framework.Localisation;
|
2017-12-08 14:27:07 +01:00
|
|
|
|
using osu.Game.Overlays.Dialog;
|
2018-04-13 18:19:50 +09:00
|
|
|
|
|
2017-12-08 14:27:07 +01:00
|
|
|
|
namespace osu.Game.Overlays.Settings.Sections.Maintenance
|
|
|
|
|
{
|
2023-02-27 21:57:59 +01:00
|
|
|
|
public partial class MassDeleteConfirmationDialog : DangerousActionDialog
|
2017-12-08 14:27:07 +01:00
|
|
|
|
{
|
2024-05-06 18:11:40 +02:00
|
|
|
|
public MassDeleteConfirmationDialog(Action deleteAction, LocalisableString deleteContent)
|
2017-12-08 14:27:07 +01:00
|
|
|
|
{
|
2024-05-06 18:11:40 +02:00
|
|
|
|
BodyText = deleteContent;
|
2024-10-07 16:44:10 +09:00
|
|
|
|
Icon = FontAwesome.Solid.Trash;
|
2023-03-05 20:57:26 +01:00
|
|
|
|
DangerousAction = deleteAction;
|
2017-12-08 14:27:07 +01:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|