2018-01-08 10:34:37 +08:00
|
|
|
|
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
|
2018-01-11 11:39:06 +08:00
|
|
|
|
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
|
2018-01-08 10:34:37 +08:00
|
|
|
|
|
|
|
|
|
using osu.Framework.Allocation;
|
|
|
|
|
using osu.Game.Configuration;
|
|
|
|
|
|
|
|
|
|
namespace osu.Game.Overlays.Settings.Sections.Gameplay
|
|
|
|
|
{
|
|
|
|
|
public class ScrollingSettings : SettingsSubsection
|
|
|
|
|
{
|
|
|
|
|
protected override string Header => "Scrolling";
|
|
|
|
|
|
|
|
|
|
[BackgroundDependencyLoader]
|
|
|
|
|
private void load(OsuConfigManager config)
|
|
|
|
|
{
|
|
|
|
|
Children = new[]
|
|
|
|
|
{
|
2018-01-12 16:18:34 +08:00
|
|
|
|
new SettingsEnumDropdown<SpeedChangeVisualisationMethod>
|
2018-01-08 10:34:37 +08:00
|
|
|
|
{
|
2018-01-12 16:18:34 +08:00
|
|
|
|
LabelText = "Visualise speed changes as",
|
|
|
|
|
Bindable = config.GetBindable<SpeedChangeVisualisationMethod>(OsuSetting.SpeedChangeVisualisation),
|
2018-01-08 10:34:37 +08:00
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|