Beispiel #1
0
            public void UpdateText(List <LocalisableString> filters)
            {
                supporterRequiredText.Clear();

                supporterRequiredText.AddText(
                    BeatmapsStrings.ListingSearchSupporterFilterQuoteDefault(string.Join(" and ", filters), "").ToString(),
                    t =>
                {
                    t.Font   = OsuFont.GetFont(size: 16);
                    t.Colour = Colour4.White;
                }
                    );

                supporterRequiredText.AddLink(BeatmapsStrings.ListingSearchSupporterFilterQuoteLinkText.ToString(), @"/store/products/supporter-tag");
            }
Beispiel #2
0
 private NominationsStatistic(BeatmapSetNominationStatus nominationStatus)
 {
     Icon        = FontAwesome.Solid.ThumbsUp;
     Text        = nominationStatus.Current.ToLocalisableString();
     TooltipText = BeatmapsStrings.NominationsRequiredText(nominationStatus.Current.ToLocalisableString(), nominationStatus.Required.ToLocalisableString());
 }
Beispiel #3
0
 private HypesStatistic(BeatmapSetHypeStatus hypeStatus)
 {
     Icon        = FontAwesome.Solid.Bullhorn;
     Text        = hypeStatus.Current.ToLocalisableString();
     TooltipText = BeatmapsStrings.HypeRequiredText(hypeStatus.Current.ToLocalisableString(), hypeStatus.Required.ToLocalisableString());
 }
Beispiel #4
0
 public PlayCountStatistic(IBeatmapSetOnlineInfo onlineInfo)
 {
     Icon        = FontAwesome.Regular.PlayCircle;
     Text        = onlineInfo.PlayCount.ToMetric(decimals: 1);
     TooltipText = BeatmapsStrings.PanelPlaycount(onlineInfo.PlayCount.ToLocalisableString(@"N0"));
 }