2017-02-14 15:13:25 +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-05-20 04:04:59 +08:00
|
|
|
|
using osu.Framework.Graphics;
|
|
|
|
|
using osu.Game.Graphics.UserInterface;
|
2017-02-06 08:21:26 +08:00
|
|
|
|
|
2017-05-15 09:55:29 +08:00
|
|
|
|
namespace osu.Game.Overlays.Settings
|
2017-02-06 08:21:26 +08:00
|
|
|
|
{
|
2017-05-15 09:55:29 +08:00
|
|
|
|
public class SettingsEnumDropdown<T> : SettingsDropdown<T>
|
2017-02-06 08:21:26 +08:00
|
|
|
|
{
|
2017-05-20 04:04:59 +08:00
|
|
|
|
protected override Drawable CreateControl() => new OsuEnumDropdown<T>
|
|
|
|
|
{
|
|
|
|
|
Margin = new MarginPadding { Top = 5 },
|
|
|
|
|
RelativeSizeAxes = Axes.X,
|
|
|
|
|
};
|
2017-02-06 08:21:26 +08:00
|
|
|
|
}
|
|
|
|
|
}
|