2019-01-24 16:43:03 +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.
|
2018-04-13 17:19:50 +08:00
|
|
|
|
|
2022-06-17 15:37:17 +08:00
|
|
|
|
#nullable disable
|
|
|
|
|
|
2017-02-27 11:35:13 +08:00
|
|
|
|
using osu.Framework.Allocation;
|
|
|
|
|
using osu.Game.Graphics;
|
2022-06-15 11:33:21 +08:00
|
|
|
|
using osu.Game.Graphics.UserInterface;
|
2018-04-13 17:19:50 +08:00
|
|
|
|
|
2017-02-27 11:35:13 +08:00
|
|
|
|
namespace osu.Game.Overlays.Dialog
|
|
|
|
|
{
|
|
|
|
|
public class PopupDialogCancelButton : PopupDialogButton
|
|
|
|
|
{
|
|
|
|
|
[BackgroundDependencyLoader]
|
2017-06-30 03:05:37 +08:00
|
|
|
|
private void load(OsuColour colours)
|
2017-02-27 11:35:13 +08:00
|
|
|
|
{
|
2017-02-28 09:38:25 +08:00
|
|
|
|
ButtonColour = colours.Blue;
|
2017-02-27 11:35:13 +08:00
|
|
|
|
}
|
2022-06-15 11:33:21 +08:00
|
|
|
|
|
|
|
|
|
public PopupDialogCancelButton()
|
|
|
|
|
: base(HoverSampleSet.DialogCancel)
|
|
|
|
|
{
|
|
|
|
|
}
|
2017-02-27 11:35:13 +08:00
|
|
|
|
}
|
|
|
|
|
}
|