mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 19:22:54 +08:00
Set option object to members.
This commit is contained in:
parent
c8d23408d7
commit
f2f6fe8e00
@ -16,7 +16,7 @@ namespace osu.Game.Overlays.Options.Audio
|
||||
public VolumeOptions()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
[BackgroundDependencyLoader]
|
||||
private void load(OsuConfigManager config)
|
||||
{
|
||||
@ -25,7 +25,7 @@ namespace osu.Game.Overlays.Options.Audio
|
||||
new SpriteText { Text = "Master: TODO slider" },
|
||||
new SpriteText { Text = "Music: TODO slider" },
|
||||
new SpriteText { Text = "Effect: TODO slider" },
|
||||
new CheckBoxOption
|
||||
ignoreHitsounds = new CheckBoxOption
|
||||
{
|
||||
LabelText = "Ignore beatmap hitsounds",
|
||||
Bindable = config.GetBindable<bool>(OsuConfig.IgnoreBeatmapSamples)
|
||||
@ -33,4 +33,4 @@ namespace osu.Game.Overlays.Options.Audio
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -23,28 +23,28 @@ namespace osu.Game.Overlays.Options.Input
|
||||
Children = new Drawable[]
|
||||
{
|
||||
new SpriteText { Text = "Sensitivity: TODO slider" },
|
||||
new CheckBoxOption
|
||||
rawInput = new CheckBoxOption
|
||||
{
|
||||
LabelText = "Raw input",
|
||||
Bindable = config.GetBindable<bool>(OsuConfig.RawInput)
|
||||
},
|
||||
new CheckBoxOption
|
||||
mapRawInput = new CheckBoxOption
|
||||
{
|
||||
LabelText = "Map absolute raw input to the osu! window",
|
||||
Bindable = config.GetBindable<bool>(OsuConfig.AbsoluteToOsuWindow)
|
||||
},
|
||||
new SpriteText { Text = "Confine mouse cursor: TODO dropdown" },
|
||||
new CheckBoxOption
|
||||
disableWheel = new CheckBoxOption
|
||||
{
|
||||
LabelText = "Disable mouse wheel in play mode",
|
||||
Bindable = config.GetBindable<bool>(OsuConfig.MouseDisableWheel)
|
||||
},
|
||||
new CheckBoxOption
|
||||
disableButtons = new CheckBoxOption
|
||||
{
|
||||
LabelText = "Disable mouse buttons in play mode",
|
||||
Bindable = config.GetBindable<bool>(OsuConfig.MouseDisableButtons)
|
||||
},
|
||||
new CheckBoxOption
|
||||
enableRipples = new CheckBoxOption
|
||||
{
|
||||
LabelText = "Cursor ripples",
|
||||
Bindable = config.GetBindable<bool>(OsuConfig.CursorRipple)
|
||||
@ -52,4 +52,4 @@ namespace osu.Game.Overlays.Options.Input
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user