osu/osu.Game/Overlays/Settings/Sections/Input/KeyboardSettings.cs

26 lines
802 B
C#
Raw Normal View History

// 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 04:52:19 +00:00
using osu.Framework.Graphics;
using osu.Game.Graphics.UserInterface;
namespace osu.Game.Overlays.Settings.Sections.Input
2017-02-07 04:52:19 +00:00
{
public class KeyboardSettings : SettingsSubsection
2017-02-07 04:52:19 +00:00
{
protected override string Header => "Keyboard";
public KeyboardSettings(KeyBindingOverlay keyConfig)
2017-02-07 04:52:19 +00:00
{
Children = new Drawable[]
{
new OsuButton
{
RelativeSizeAxes = Axes.X,
Text = "Key Configuration",
Action = () => keyConfig.ToggleVisibility()
2017-02-07 04:52:19 +00:00
},
};
}
}
2016-11-03 04:26:49 +00:00
}