mirror of
https://github.com/ppy/osu
synced 2024-12-30 10:52:30 +00:00
47 lines
1.3 KiB
C#
47 lines
1.3 KiB
C#
using System;
|
|
using OpenTK;
|
|
using osu.Framework.Graphics;
|
|
using osu.Framework.Graphics.Sprites;
|
|
using osu.Game.Graphics.UserInterface;
|
|
|
|
namespace osu.Game.Overlays.Options
|
|
{
|
|
public class MaintenanceOptions : OptionsSection
|
|
{
|
|
protected override string Header => "Maintenance";
|
|
|
|
public MaintenanceOptions()
|
|
{
|
|
content.Spacing = new Vector2(0, 5);
|
|
Children = new Drawable[]
|
|
{
|
|
new OsuButton
|
|
{
|
|
RelativeSizeAxes = Axes.X,
|
|
Text = "Delete all unranked maps",
|
|
},
|
|
new OsuButton
|
|
{
|
|
RelativeSizeAxes = Axes.X,
|
|
Text = "Repair folder permissions",
|
|
},
|
|
new OsuButton
|
|
{
|
|
RelativeSizeAxes = Axes.X,
|
|
Text = "Mark all maps as played",
|
|
},
|
|
new OsuButton
|
|
{
|
|
RelativeSizeAxes = Axes.X,
|
|
Text = "Run osu! updater",
|
|
},
|
|
new SpriteText
|
|
{
|
|
Text = "TODO: osu version here",
|
|
Anchor = Anchor.TopCentre,
|
|
Origin = Anchor.TopCentre,
|
|
},
|
|
};
|
|
}
|
|
}
|
|
} |