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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

23 lines
714 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.
2022-06-17 15:37:17 +08:00
#nullable disable
2020-02-20 17:43:47 +08:00
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
}
}
}