1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-06 06:09:34 +08:00
osu-lazer/osu.Game/Screens/OnlinePlay/Match/Components/PurpleTriangleButton.cs

21 lines
695 B
C#
Raw Normal View History

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.
using osu.Framework.Allocation;
using osu.Framework.Extensions.Color4Extensions;
2020-02-20 17:43:47 +08:00
using osu.Game.Graphics.UserInterface;
namespace osu.Game.Screens.OnlinePlay.Match.Components
2020-02-20 17:43:47 +08:00
{
public class PurpleTriangleButton : TriangleButton
{
[BackgroundDependencyLoader]
private void load()
{
BackgroundColour = Color4Extensions.FromHex(@"593790");
Triangles.ColourLight = Color4Extensions.FromHex(@"7247b6");
Triangles.ColourDark = Color4Extensions.FromHex(@"593790");
2020-02-20 17:43:47 +08:00
}
}
}