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;
|
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
|
|
|
|
|
{
|
2022-11-24 13:32:20 +08:00
|
|
|
|
public partial class BeatmapListingHeader : OverlayHeader
|
2020-02-19 22:28:14 +08:00
|
|
|
|
{
|
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();
|
|
|
|
|
|
2022-11-24 13:32: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;
|
2020-09-03 16:05:45 +08:00
|
|
|
|
IconTexture = "Icons/Hexacons/beatmap";
|
2020-02-19 22:28:14 +08:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|