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