osu/osu.Game/Overlays/Options/Gameplay/GeneralGameplayOptions.cs

49 lines
1.9 KiB
C#
Raw Normal View History

2016-12-06 09:56:20 +00:00
//Copyright (c) 2007-2016 ppy Pty Ltd <contact@ppy.sh>.
//Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Framework;
2016-11-10 22:40:42 +00:00
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Sprites;
using osu.Framework.Graphics.UserInterface;
using osu.Game.Configuration;
2016-11-08 02:24:41 +00:00
namespace osu.Game.Overlays.Options.Gameplay
2016-11-03 04:26:49 +00:00
{
public class GeneralGameplayOptions : OptionsSubsection
{
2016-11-10 22:40:42 +00:00
protected override string Header => "General";
2016-11-09 03:38:40 +00:00
[BackgroundDependencyLoader]
private void load(OsuConfigManager config)
2016-11-03 04:26:49 +00:00
{
Children = new Drawable[]
{
new SpriteText { Text = "Background dim: TODO slider" },
new SpriteText { Text = "Progress display: TODO dropdown" },
new SpriteText { Text = "Score meter type: TODO dropdown" },
new SpriteText { Text = "Score meter size: TODO slider" },
2016-11-10 22:40:42 +00:00
new CheckBoxOption
{
LabelText = "Always show key overlay",
Bindable = config.GetBindable<bool>(OsuConfig.KeyOverlay)
},
new CheckBoxOption
{
LabelText = "Show approach circle on first \"Hidden\" object",
Bindable = config.GetBindable<bool>(OsuConfig.HiddenShowFirstApproach)
},
new CheckBoxOption
{
LabelText = "Scale osu!mania scroll speed with BPM",
Bindable = config.GetBindable<bool>(OsuConfig.ManiaSpeedBPMScale)
},
new CheckBoxOption
{
LabelText = "Remember osu!mania scroll speed per beatmap",
Bindable = config.GetBindable<bool>(OsuConfig.UsePerBeatmapManiaSpeed)
},
2016-11-03 04:26:49 +00:00
};
}
}
}