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