From b97902d006fec571f324a660af08bde50692b3cd Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Thu, 1 Dec 2016 17:30:53 -0500 Subject: [PATCH] Add missing sliders --- osu.Game/Overlays/Options/Input/MouseOptions.cs | 6 ++++++ osu.Game/Overlays/Options/SkinSection.cs | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/osu.Game/Overlays/Options/Input/MouseOptions.cs b/osu.Game/Overlays/Options/Input/MouseOptions.cs index 4e57d262f6..785c55e148 100644 --- a/osu.Game/Overlays/Options/Input/MouseOptions.cs +++ b/osu.Game/Overlays/Options/Input/MouseOptions.cs @@ -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 + { + Label = "Sensitivity", + Bindable = (BindableDouble)config.GetBindable(OsuConfig.MouseSpeed), + }, rawInput = new CheckBoxOption { LabelText = "Raw input", diff --git a/osu.Game/Overlays/Options/SkinSection.cs b/osu.Game/Overlays/Options/SkinSection.cs index e552b54160..e69cc1f119 100644 --- a/osu.Game/Overlays/Options/SkinSection.cs +++ b/osu.Game/Overlays/Options/SkinSection.cs @@ -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(OsuConfig.UseSkinCursor) }, new SpriteText { Text = "Cursor size: TODO slider" }, + new OptionsSlider + { + Label = "Cursor size", + Bindable = (BindableDouble)config.GetBindable(OsuConfig.CursorSize) + }, new CheckBoxOption { LabelText = "Automatic cursor size",