2020-07-06 22:44:26 +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.
|
|
|
|
|
|
|
|
using System;
|
|
|
|
using osu.Game.Overlays.Dialog;
|
|
|
|
|
|
|
|
namespace osu.Game.Screens.Menu
|
|
|
|
{
|
2021-03-03 13:50:45 +08:00
|
|
|
public class ConfirmExitDialog : ConfirmDialog
|
2020-07-06 22:44:26 +08:00
|
|
|
{
|
2021-03-03 13:50:45 +08:00
|
|
|
public ConfirmExitDialog(Action confirm, Action onCancel = null)
|
|
|
|
: base("exit osu!", confirm, onCancel)
|
2020-07-06 22:44:26 +08:00
|
|
|
{
|
2021-03-03 13:50:45 +08:00
|
|
|
ButtonConfirm.Text = "Let me out!";
|
|
|
|
ButtonCancel.Text = "Just a little more...";
|
2020-07-06 22:44:26 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|