2018-01-05 19:21:19 +08:00
|
|
|
|
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
|
2017-02-07 12:59:30 +08:00
|
|
|
|
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
|
2017-02-07 12:52:19 +08:00
|
|
|
|
|
|
|
|
|
using osu.Framework.Graphics;
|
|
|
|
|
|
2017-05-15 09:55:29 +08:00
|
|
|
|
namespace osu.Game.Overlays.Settings.Sections.Input
|
2017-02-07 12:52:19 +08:00
|
|
|
|
{
|
2017-05-15 09:55:29 +08:00
|
|
|
|
public class KeyboardSettings : SettingsSubsection
|
2017-02-07 12:52:19 +08:00
|
|
|
|
{
|
|
|
|
|
protected override string Header => "Keyboard";
|
|
|
|
|
|
2017-08-16 18:17:42 +08:00
|
|
|
|
public KeyboardSettings(KeyBindingOverlay keyConfig)
|
2017-02-07 12:52:19 +08:00
|
|
|
|
{
|
|
|
|
|
Children = new Drawable[]
|
|
|
|
|
{
|
2017-10-21 10:46:06 +08:00
|
|
|
|
new SettingsButton
|
2017-02-07 12:52:19 +08:00
|
|
|
|
{
|
2017-08-16 18:17:42 +08:00
|
|
|
|
Text = "Key Configuration",
|
2017-09-14 11:58:32 +08:00
|
|
|
|
Action = keyConfig.ToggleVisibility
|
2017-02-07 12:52:19 +08:00
|
|
|
|
},
|
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
}
|
2018-01-05 19:21:19 +08:00
|
|
|
|
}
|