2018-01-05 19:21:19 +08:00
|
|
|
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
|
2017-05-04 22:07:24 +08:00
|
|
|
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
|
|
|
|
|
|
|
|
using osu.Framework.Graphics;
|
|
|
|
using osu.Game.Graphics.UserInterface;
|
|
|
|
|
2017-05-15 09:55:29 +08:00
|
|
|
namespace osu.Game.Overlays.Settings
|
2017-05-04 22:07:24 +08:00
|
|
|
{
|
2017-05-15 09:55:29 +08:00
|
|
|
public class SettingsCheckbox : SettingsItem<bool>
|
2017-05-04 22:07:24 +08:00
|
|
|
{
|
|
|
|
private OsuCheckbox checkbox;
|
|
|
|
|
|
|
|
protected override Drawable CreateControl() => checkbox = new OsuCheckbox();
|
|
|
|
|
|
|
|
public override string LabelText
|
|
|
|
{
|
|
|
|
get { return checkbox.LabelText; }
|
|
|
|
set { checkbox.LabelText = value; }
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|