2017-02-07 12:59:30 +08: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-02-07 12:52:19 +08:00
|
|
|
|
|
|
|
|
|
using osu.Framework.Configuration;
|
|
|
|
|
using osu.Game.Graphics.UserInterface;
|
|
|
|
|
|
|
|
|
|
namespace osu.Game.Overlays.Options
|
|
|
|
|
{
|
|
|
|
|
public class OptionTextBox : OsuTextBox
|
|
|
|
|
{
|
|
|
|
|
private Bindable<string> bindable;
|
|
|
|
|
|
|
|
|
|
public Bindable<string> Bindable
|
|
|
|
|
{
|
|
|
|
|
set
|
|
|
|
|
{
|
|
|
|
|
bindable = value;
|
2017-04-10 16:10:15 +08:00
|
|
|
|
Current.BindTo(bindable);
|
2017-02-07 12:52:19 +08:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
2017-04-21 12:53:11 +08:00
|
|
|
|
}
|