1
0
mirror of https://github.com/ppy/osu.git synced 2025-03-07 02:37:19 +08:00

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

29 lines
870 B
C#
Raw Normal View History

// 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.
2018-04-13 18:19:50 +09:00
using osu.Framework.Allocation;
using osu.Framework.Extensions.Color4Extensions;
2017-09-12 23:41:10 -03:00
using osu.Framework.Graphics;
using osu.Game.Graphics.UserInterface;
2018-04-13 18:19:50 +09:00
namespace osu.Game.Overlays.BeatmapSet.Buttons
2017-09-12 23:41:10 -03:00
{
public class HeaderButton : TriangleButton
2017-09-12 23:41:10 -03:00
{
public HeaderButton()
{
Height = 0;
RelativeSizeAxes = Axes.Y;
}
2018-04-13 18:19:50 +09:00
[BackgroundDependencyLoader]
2017-11-28 00:20:44 +02:00
private void load()
{
BackgroundColour = Color4Extensions.FromHex(@"094c5f");
Triangles.ColourLight = Color4Extensions.FromHex(@"0f7c9b");
Triangles.ColourDark = Color4Extensions.FromHex(@"094c5f");
Triangles.TriangleScale = 1.5f;
2017-09-12 23:41:10 -03:00
}
}
}