1
0
mirror of https://github.com/ppy/osu.git synced 2025-03-14 15:37:19 +08:00

Add missing sliders

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

View File

@ -1,5 +1,6 @@
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;
@ -23,6 +24,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

@ -1,6 +1,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;
@ -59,6 +60,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",