2020-02-20 17:43:47 +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.
|
|
|
|
|
2022-06-17 15:37:17 +08:00
|
|
|
#nullable disable
|
|
|
|
|
2020-02-20 17:43:47 +08:00
|
|
|
using osu.Framework.Allocation;
|
2020-03-11 09:18:41 +08:00
|
|
|
using osu.Framework.Extensions.Color4Extensions;
|
2020-02-20 17:43:47 +08:00
|
|
|
using osu.Game.Graphics.UserInterface;
|
|
|
|
|
2020-12-25 23:50:00 +08:00
|
|
|
namespace osu.Game.Screens.OnlinePlay.Match.Components
|
2020-02-20 17:43:47 +08:00
|
|
|
{
|
|
|
|
public class PurpleTriangleButton : TriangleButton
|
|
|
|
{
|
|
|
|
[BackgroundDependencyLoader]
|
|
|
|
private void load()
|
|
|
|
{
|
2020-03-11 09:18:41 +08:00
|
|
|
BackgroundColour = Color4Extensions.FromHex(@"593790");
|
|
|
|
Triangles.ColourLight = Color4Extensions.FromHex(@"7247b6");
|
|
|
|
Triangles.ColourDark = Color4Extensions.FromHex(@"593790");
|
2020-02-20 17:43:47 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|