mirror of
https://github.com/ppy/osu
synced 2024-12-09 16:39:15 +00:00
08040adfad
Adds a `LabelledDrawable` class for usages where bindables are not present.
16 lines
453 B
C#
16 lines
453 B
C#
// 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.
|
|
|
|
namespace osu.Game.Graphics.UserInterfaceV2
|
|
{
|
|
public class LabelledSwitchButton : LabelledComponent<SwitchButton, bool>
|
|
{
|
|
public LabelledSwitchButton()
|
|
: base(true)
|
|
{
|
|
}
|
|
|
|
protected override SwitchButton CreateComponent() => new SwitchButton();
|
|
}
|
|
}
|