2020-02-19 14:28:14 +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-06-17 07:37:17 +00:00
|
|
|
|
#nullable disable
|
|
|
|
|
|
2023-03-21 05:27:07 +00:00
|
|
|
|
using osu.Framework.Graphics;
|
2023-11-24 04:16:04 +00:00
|
|
|
|
using osu.Game.Graphics;
|
2021-07-17 18:38:15 +00:00
|
|
|
|
using osu.Game.Localisation;
|
2021-08-03 07:34:21 +00:00
|
|
|
|
using osu.Game.Resources.Localisation.Web;
|
2021-07-17 18:38:15 +00:00
|
|
|
|
|
2020-02-19 14:28:14 +00:00
|
|
|
|
namespace osu.Game.Overlays.BeatmapListing
|
|
|
|
|
{
|
|
|
|
|
public partial class BeatmapListingHeader : OverlayHeader
|
|
|
|
|
{
|
2023-03-21 05:27:07 +00:00
|
|
|
|
public BeatmapListingFilterControl FilterControl { get; private set; }
|
|
|
|
|
|
2020-03-24 21:08:20 +00:00
|
|
|
|
protected override OverlayTitle CreateTitle() => new BeatmapListingTitle();
|
2020-02-19 14:28:14 +00:00
|
|
|
|
|
2023-03-21 05:27:07 +00:00
|
|
|
|
protected override Drawable CreateContent() => FilterControl = new BeatmapListingFilterControl();
|
|
|
|
|
|
2020-03-24 21:08:20 +00:00
|
|
|
|
private partial class BeatmapListingTitle : OverlayTitle
|
2020-02-19 14:28:14 +00:00
|
|
|
|
{
|
|
|
|
|
public BeatmapListingTitle()
|
|
|
|
|
{
|
2021-08-03 07:34:21 +00:00
|
|
|
|
Title = PageTitleStrings.MainBeatmapsetsControllerIndex;
|
2021-07-18 02:12:24 +00:00
|
|
|
|
Description = NamedOverlayComponentStrings.BeatmapListingDescription;
|
2023-12-27 14:35:03 +00:00
|
|
|
|
Icon = OsuIcon.Beatmap;
|
2020-02-19 14:28:14 +00:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|