2019-10-13 19:43:30 +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.Game.Graphics;
|
|
|
|
|
using osu.Game.Graphics.UserInterface;
|
|
|
|
|
|
|
|
|
|
namespace osu.Game.Overlays.Profile.Sections
|
|
|
|
|
{
|
|
|
|
|
public class ProfileShowMoreButton : ShowMoreButton
|
|
|
|
|
{
|
|
|
|
|
[BackgroundDependencyLoader]
|
2020-01-30 05:25:28 +08:00
|
|
|
|
private void load(OverlayColourProvider colourProvider)
|
2019-10-13 19:43:30 +08:00
|
|
|
|
{
|
2020-01-30 05:25:28 +08:00
|
|
|
|
IdleColour = colourProvider.Background2;
|
|
|
|
|
HoverColour = colourProvider.Background1;
|
|
|
|
|
ChevronIconColour = colourProvider.Foreground1;
|
2019-10-13 19:43:30 +08:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|