mirror of
https://github.com/ppy/osu.git
synced 2024-11-19 08:52:55 +08:00
cc0f61f545
# Conflicts: # osu-framework # osu.Game/GameModes/OsuGameMode.cs # osu.Game/GameModes/Play/Player.cs # osu.Game/OsuGame.cs # osu.Game/Overlays/MusicController.cs # osu.Game/Overlays/Options/EditorSection.cs # osu.Game/Overlays/Options/Input/MouseOptions.cs # osu.Game/Overlays/Options/Online/InGameChatOptions.cs # osu.Game/Overlays/Options/SkinSection.cs
32 lines
950 B
C#
32 lines
950 B
C#
using osu.Framework;
|
|
using osu.Framework.Allocation;
|
|
using osu.Framework.Graphics;
|
|
using osu.Framework.Graphics.Sprites;
|
|
using osu.Framework.Platform;
|
|
using osu.Game.Graphics.UserInterface;
|
|
|
|
namespace osu.Game.Overlays.Options.General
|
|
{
|
|
public class UpdateOptions : OptionsSubsection
|
|
{
|
|
protected override string Header => "Updates";
|
|
|
|
[BackgroundDependencyLoader]
|
|
private void load(BasicStorage storage)
|
|
{
|
|
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(),
|
|
}
|
|
};
|
|
}
|
|
}
|
|
}
|
|
|