2017-05-04 14:07:24 +00:00
|
|
|
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
|
|
|
|
// 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 01:55:29 +00:00
|
|
|
namespace osu.Game.Overlays.Settings
|
2017-05-04 14:07:24 +00:00
|
|
|
{
|
2017-05-15 01:55:29 +00:00
|
|
|
public class SettingsCheckbox : SettingsItem<bool>
|
2017-05-04 14:07:24 +00:00
|
|
|
{
|
|
|
|
private OsuCheckbox checkbox;
|
|
|
|
|
|
|
|
protected override Drawable CreateControl() => checkbox = new OsuCheckbox();
|
|
|
|
|
|
|
|
public override string LabelText
|
|
|
|
{
|
|
|
|
get { return checkbox.LabelText; }
|
|
|
|
set { checkbox.LabelText = value; }
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|