Add OptionItem class

Allow for centalised logic for all option UI controls.
This commit is contained in:
Dean Herbert
2017-05-04 23:07:24 +09:00
parent b98ae5d7c3
commit 153951d3dd
17 changed files with 156 additions and 126 deletions

View File

@ -16,7 +16,7 @@ namespace osu.Game.Overlays.Options.Sections.Graphics
{
Children = new[]
{
new OsuCheckbox
new OptionCheckbox
{
LabelText = "Parallax",
Bindable = config.GetBindable<bool>(OsuConfig.MenuParallax)
@ -24,4 +24,4 @@ namespace osu.Game.Overlays.Options.Sections.Graphics
};
}
}
}
}