2019-01-24 08:43:03 +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.
|
2018-04-13 09:19:50 +00:00
|
|
|
|
|
2017-02-07 04:52:19 +00:00
|
|
|
|
using osu.Framework.Graphics;
|
2019-03-27 10:29:27 +00:00
|
|
|
|
using osu.Framework.Graphics.Sprites;
|
2021-08-12 04:26:42 +00:00
|
|
|
|
using osu.Framework.Localisation;
|
|
|
|
|
using osu.Game.Localisation;
|
2017-07-28 03:46:38 +00:00
|
|
|
|
using osu.Game.Overlays.Settings.Sections.Maintenance;
|
2018-04-13 09:19:50 +00:00
|
|
|
|
|
2017-05-15 01:55:29 +00:00
|
|
|
|
namespace osu.Game.Overlays.Settings.Sections
|
2017-02-07 04:52:19 +00:00
|
|
|
|
{
|
2017-05-15 01:55:29 +00:00
|
|
|
|
public class MaintenanceSection : SettingsSection
|
2017-02-07 04:52:19 +00:00
|
|
|
|
{
|
2021-08-12 04:26:42 +00:00
|
|
|
|
public override LocalisableString Header => MaintenanceSettingsStrings.MaintenanceSectionHeader;
|
2020-04-25 18:35:46 +00:00
|
|
|
|
|
|
|
|
|
public override Drawable CreateIcon() => new SpriteIcon
|
|
|
|
|
{
|
|
|
|
|
Icon = FontAwesome.Solid.Wrench
|
|
|
|
|
};
|
2018-04-13 09:19:50 +00:00
|
|
|
|
|
2017-02-07 04:52:19 +00:00
|
|
|
|
public MaintenanceSection()
|
|
|
|
|
{
|
|
|
|
|
Children = new Drawable[]
|
|
|
|
|
{
|
2022-06-21 22:00:03 +00:00
|
|
|
|
new BeatmapSettings(),
|
|
|
|
|
new SkinSettings(),
|
|
|
|
|
new CollectionsSettings(),
|
2022-08-07 14:05:43 +00:00
|
|
|
|
new ScoreSettings(),
|
|
|
|
|
new ModPresetSettings()
|
2017-02-07 04:52:19 +00:00
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
}
|
2017-05-03 11:49:52 +00:00
|
|
|
|
}
|