1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-17 14:52:56 +08:00
osu-lazer/osu.Game.Rulesets.Mania/ManiaSettingsSubsection.cs

35 lines
1.0 KiB
C#
Raw Normal View History

2018-06-11 13:36:19 +08:00
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Game.Overlays.Settings;
using osu.Game.Rulesets.Mania.Configuration;
using osu.Game.Rulesets.Mania.UI;
namespace osu.Game.Rulesets.Mania
{
public class ManiaSettingsSubsection : RulesetSettingsSubsection
{
protected override string Header => "osu!mania";
public ManiaSettingsSubsection(ManiaRuleset ruleset)
: base(ruleset)
{
}
[BackgroundDependencyLoader]
2018-07-11 16:25:57 +08:00
private void load()
2018-06-11 13:36:19 +08:00
{
Children = new Drawable[]
{
new SettingsEnumDropdown<ManiaScrollingDirection>
{
LabelText = "Scrolling direction",
2018-07-11 16:25:57 +08:00
Bindable = ((ManiaConfigManager)Config).GetBindable<ManiaScrollingDirection>(ManiaSetting.ScrollDirection)
2018-06-11 13:36:19 +08:00
}
};
}
}
}