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
|
|
|
|
|
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
|
|
|
|
|
{
|
2017-02-28 08:55:10 +08:00
|
|
|
|
public partial class PopupDialogOkButton : PopupDialogButton
|
2017-02-27 11:35:13 +08:00
|
|
|
|
{
|
|
|
|
|
[BackgroundDependencyLoader]
|
2017-06-29 01:19:04 +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.Pink;
|
2017-02-27 11:35:13 +08:00
|
|
|
|
}
|
2022-06-15 11:33:21 +08:00
|
|
|
|
|
|
|
|
|
public PopupDialogOkButton()
|
|
|
|
|
: base(HoverSampleSet.DialogOk)
|
|
|
|
|
{
|
|
|
|
|
}
|
2017-02-27 11:35:13 +08:00
|
|
|
|
}
|
|
|
|
|
}
|