2019-09-25 16:42:35 +08:00
|
|
|
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
|
|
|
|
// See the LICENCE file in the repository root for full licence text.
|
|
|
|
|
2019-09-25 16:53:08 +08:00
|
|
|
namespace osu.Game.Graphics.UserInterfaceV2
|
2019-09-25 16:42:35 +08:00
|
|
|
{
|
2019-10-28 14:33:08 +08:00
|
|
|
public class LabelledSwitchButton : LabelledComponent<SwitchButton, bool>
|
2019-09-25 16:42:35 +08:00
|
|
|
{
|
|
|
|
public LabelledSwitchButton()
|
|
|
|
: base(true)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
protected override SwitchButton CreateComponent() => new SwitchButton();
|
|
|
|
}
|
|
|
|
}
|