2019-01-24 16:43:03 +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.
|
2018-04-13 17:19:50 +08:00
|
|
|
|
|
2018-04-18 15:04:02 +08:00
|
|
|
|
using osu.Framework.Allocation;
|
2020-03-11 09:18:41 +08:00
|
|
|
|
using osu.Framework.Extensions.Color4Extensions;
|
2018-04-13 17:19:50 +08:00
|
|
|
|
using osu.Framework.Graphics;
|
2022-11-24 15:26:57 +08:00
|
|
|
|
using osu.Game.Graphics.UserInterfaceV2;
|
2018-04-13 17:19:50 +08:00
|
|
|
|
|
2018-04-18 15:04:02 +08:00
|
|
|
|
namespace osu.Game.Overlays.BeatmapSet.Buttons
|
2018-04-13 17:19:50 +08:00
|
|
|
|
{
|
2022-11-26 23:19:36 +08:00
|
|
|
|
public partial class HeaderButton : RoundedButton
|
2018-04-13 17:19:50 +08:00
|
|
|
|
{
|
|
|
|
|
public HeaderButton()
|
|
|
|
|
{
|
|
|
|
|
Height = 0;
|
|
|
|
|
RelativeSizeAxes = Axes.Y;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[BackgroundDependencyLoader]
|
|
|
|
|
private void load()
|
|
|
|
|
{
|
2020-03-11 09:18:41 +08:00
|
|
|
|
BackgroundColour = Color4Extensions.FromHex(@"094c5f");
|
2018-04-13 17:19:50 +08:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|