2017-02-07 12:59:30 +08:00
|
|
|
|
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
|
|
|
|
|
// 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;
|
|
|
|
|
using osu.Game.Graphics.UserInterface;
|
|
|
|
|
|
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[]
|
|
|
|
|
{
|
|
|
|
|
new OsuButton
|
|
|
|
|
{
|
|
|
|
|
RelativeSizeAxes = Axes.X,
|
2017-08-16 18:17:42 +08:00
|
|
|
|
Text = "Key Configuration",
|
|
|
|
|
Action = () => keyConfig.ToggleVisibility()
|
2017-02-07 12:52:19 +08:00
|
|
|
|
},
|
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
}
|
2016-11-03 12:26:49 +08:00
|
|
|
|
}
|