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