2024-02-02 21:08:36 +00:00
|
|
|
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
|
2023-01-09 19:26:43 +00:00
|
|
|
// See the LICENCE file in the repository root for full licence text.
|
|
|
|
|
|
|
|
using osu.Framework.Allocation;
|
|
|
|
using osu.Framework.Graphics;
|
|
|
|
using osu.Framework.Localisation;
|
2024-02-02 21:08:36 +00:00
|
|
|
using osu.Game.Localisation;
|
2023-01-09 19:26:43 +00:00
|
|
|
using osu.Game.Overlays.Settings;
|
|
|
|
using osu.Game.Rulesets.Taiko.Configuration;
|
|
|
|
|
|
|
|
namespace osu.Game.Rulesets.Taiko
|
|
|
|
{
|
|
|
|
public partial class TaikoSettingsSubsection : RulesetSettingsSubsection
|
|
|
|
{
|
|
|
|
protected override LocalisableString Header => "osu!taiko";
|
|
|
|
|
|
|
|
public TaikoSettingsSubsection(TaikoRuleset ruleset)
|
|
|
|
: base(ruleset)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
[BackgroundDependencyLoader]
|
|
|
|
private void load()
|
|
|
|
{
|
|
|
|
var config = (TaikoRulesetConfigManager)Config;
|
|
|
|
|
|
|
|
Children = new Drawable[]
|
|
|
|
{
|
|
|
|
new SettingsEnumDropdown<TaikoTouchControlScheme>
|
|
|
|
{
|
2024-02-02 21:08:36 +00:00
|
|
|
LabelText = RulesetSettingsStrings.TouchControlScheme,
|
2023-01-09 19:26:43 +00:00
|
|
|
Current = config.GetBindable<TaikoTouchControlScheme>(TaikoRulesetSetting.TouchControlScheme)
|
|
|
|
}
|
|
|
|
};
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|