2021-05-11 10:00:57 +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 osu.Framework.Allocation;
|
2022-11-24 15:26:57 +08:00
|
|
|
|
using osu.Game.Graphics.UserInterfaceV2;
|
2021-05-11 10:00:57 +08:00
|
|
|
|
|
|
|
|
|
namespace osu.Game.Graphics.UserInterface
|
|
|
|
|
{
|
2022-11-26 23:19:36 +08:00
|
|
|
|
public partial class DangerousRoundedButton : RoundedButton
|
2021-05-11 10:00:57 +08:00
|
|
|
|
{
|
|
|
|
|
[BackgroundDependencyLoader]
|
|
|
|
|
private void load(OsuColour colours)
|
|
|
|
|
{
|
2023-10-13 19:16:24 +08:00
|
|
|
|
BackgroundColour = colours.DangerousButtonColour;
|
2021-05-11 10:00:57 +08:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|