1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-07 03:17:28 +08:00
osu-lazer/osu.Game/Overlays/Options/Gameplay/GeneralGameplayOptions.cs

46 lines
1.7 KiB
C#
Raw Normal View History

2016-11-11 06:40:42 +08:00
using osu.Framework;
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 10:24:41 +08:00
namespace osu.Game.Overlays.Options.Gameplay
2016-11-03 12:26:49 +08:00
{
public class GeneralGameplayOptions : OptionsSubsection
{
2016-11-11 06:40:42 +08:00
protected override string Header => "General";
2016-11-09 11:38:40 +08:00
2016-11-11 06:40:42 +08:00
[Initializer]
private void Load(OsuConfigManager config)
2016-11-03 12:26:49 +08: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-11 06:40:42 +08: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 12:26:49 +08:00
};
}
}
}