2021-09-08 12:27:20 +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.
|
|
|
|
|
2022-05-15 02:01:29 +08:00
|
|
|
using osu.Framework.Allocation;
|
|
|
|
using osu.Game.Graphics;
|
2021-09-08 12:27:20 +08:00
|
|
|
using osu.Game.Resources.Localisation.Web;
|
|
|
|
|
|
|
|
namespace osu.Game.Overlays.BeatmapSet
|
|
|
|
{
|
2022-05-15 01:52:38 +08:00
|
|
|
public class FeaturedArtistBeatmapBadge : BeatmapBadge
|
2021-09-08 12:27:20 +08:00
|
|
|
{
|
2022-05-15 02:01:29 +08:00
|
|
|
[BackgroundDependencyLoader]
|
|
|
|
private void load(OsuColour colours)
|
|
|
|
{
|
|
|
|
BadgeText = BeatmapsetsStrings.FeaturedArtistBadgeLabel;
|
2022-05-28 06:05:07 +08:00
|
|
|
BadgeColour = colours.FeaturedArtistColour;
|
2022-05-15 02:02:56 +08:00
|
|
|
// todo: add linking support to allow redirecting featured artist badge to corresponding track.
|
2022-05-15 02:01:29 +08:00
|
|
|
}
|
2021-09-08 12:27:20 +08:00
|
|
|
}
|
|
|
|
}
|