2022-05-14 16:46:50 +00: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-05-14 18:01:29 +00:00
|
|
|
using osu.Framework.Allocation;
|
|
|
|
using osu.Game.Graphics;
|
2022-05-14 16:46:50 +00:00
|
|
|
using osu.Game.Resources.Localisation.Web;
|
|
|
|
|
|
|
|
namespace osu.Game.Overlays.BeatmapSet
|
|
|
|
{
|
2022-05-14 17:52:38 +00:00
|
|
|
public partial class SpotlightBeatmapBadge : BeatmapBadge
|
2022-05-14 16:46:50 +00:00
|
|
|
{
|
2022-05-14 18:01:29 +00:00
|
|
|
[BackgroundDependencyLoader]
|
|
|
|
private void load(OsuColour colours)
|
|
|
|
{
|
|
|
|
BadgeText = BeatmapsetsStrings.SpotlightBadgeLabel;
|
2022-05-27 22:05:07 +00:00
|
|
|
BadgeColour = colours.SpotlightColour;
|
2022-05-14 18:02:56 +00:00
|
|
|
// todo: add linking support to allow redirecting spotlight badge to https://osu.ppy.sh/wiki/en/Beatmap_Spotlights.
|
2022-05-14 18:01:29 +00:00
|
|
|
}
|
2022-05-14 16:46:50 +00:00
|
|
|
}
|
|
|
|
}
|