osu/osu.Game/Overlays/Dialog/PopupDialogCancelButton.cs

26 lines
642 B
C#
Raw Normal View History

// 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 09:19:50 +00:00
2022-06-17 07:37:17 +00:00
#nullable disable
2018-04-13 09:19:50 +00:00
using osu.Framework.Allocation;
using osu.Game.Graphics;
using osu.Game.Graphics.UserInterface;
2018-04-13 09:19:50 +00:00
namespace osu.Game.Overlays.Dialog
{
2022-11-24 05:32:20 +00:00
public partial class PopupDialogCancelButton : PopupDialogButton
2018-04-13 09:19:50 +00:00
{
[BackgroundDependencyLoader]
private void load(OsuColour colours)
{
ButtonColour = colours.Blue;
}
public PopupDialogCancelButton()
: base(HoverSampleSet.DialogCancel)
{
}
2018-04-13 09:19:50 +00:00
}
}