1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-13 13:32:54 +08:00

Add missing sliders

This commit is contained in:
Drew DeVault 2016-12-01 17:30:53 -05:00
parent 92cf841589
commit b97902d006
2 changed files with 12 additions and 0 deletions

View File

@ -3,6 +3,7 @@
using osu.Framework;
using osu.Framework.Allocation;
using osu.Framework.Configuration;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Sprites;
using osu.Framework.Graphics.UserInterface;
@ -26,6 +27,11 @@ namespace osu.Game.Overlays.Options.Input
Children = new Drawable[]
{
new SpriteText { Text = "Sensitivity: TODO slider" },
new OptionsSlider<double>
{
Label = "Sensitivity",
Bindable = (BindableDouble)config.GetBindable<double>(OsuConfig.MouseSpeed),
},
rawInput = new CheckBoxOption
{
LabelText = "Raw input",

View File

@ -4,6 +4,7 @@
using OpenTK;
using osu.Framework;
using osu.Framework.Allocation;
using osu.Framework.Configuration;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Sprites;
using osu.Framework.Graphics.UserInterface;
@ -62,6 +63,11 @@ namespace osu.Game.Overlays.Options
Bindable = config.GetBindable<bool>(OsuConfig.UseSkinCursor)
},
new SpriteText { Text = "Cursor size: TODO slider" },
new OptionsSlider<double>
{
Label = "Cursor size",
Bindable = (BindableDouble)config.GetBindable<double>(OsuConfig.CursorSize)
},
new CheckBoxOption
{
LabelText = "Automatic cursor size",