mirror of
https://github.com/ppy/osu
synced 2024-12-20 13:53:09 +00:00
31 lines
880 B
C#
31 lines
880 B
C#
using System;
|
|
using OpenTK.Graphics;
|
|
using osu.Framework.Graphics;
|
|
using osu.Framework.Graphics.Sprites;
|
|
using osu.Framework.Graphics.UserInterface;
|
|
using osu.Framework.Platform;
|
|
using osu.Game.Graphics.UserInterface;
|
|
|
|
namespace osu.Game.Overlays.Options
|
|
{
|
|
public class UpdateOptions : OptionsSubsection
|
|
{
|
|
public UpdateOptions(BasicStorage storage)
|
|
{
|
|
Header = "Updates";
|
|
Children = new Drawable[]
|
|
{
|
|
new SpriteText { Text = "TODO: Dropdown" },
|
|
new SpriteText { Text = "Your osu! is up to date" }, // TODO: map this to reality
|
|
new OsuButton
|
|
{
|
|
RelativeSizeAxes = Axes.X,
|
|
Text = "Open osu! folder",
|
|
Action = storage.OpenInNativeExplorer,
|
|
}
|
|
};
|
|
}
|
|
}
|
|
}
|
|
|