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