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