1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-23 18:07:25 +08:00
osu-lazer/osu.Game/Overlays/Options/UpdateOptions.cs

31 lines
880 B
C#
Raw Normal View History

2016-11-03 10:22:34 +08:00
using System;
using OpenTK.Graphics;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Sprites;
using osu.Framework.Graphics.UserInterface;
using osu.Framework.Platform;
2016-11-03 10:27:39 +08:00
using osu.Game.Graphics.UserInterface;
2016-11-03 10:22:34 +08:00
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
2016-11-03 10:27:39 +08:00
new OsuButton
2016-11-03 10:22:34 +08:00
{
RelativeSizeAxes = Axes.X,
Text = "Open osu! folder",
Action = storage.OpenInNativeExplorer,
}
};
}
}
}