// Copyright (c) 2007-2017 ppy Pty Ltd . // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using osu.Framework.Allocation; using osu.Framework.Graphics; using osu.Game.Configuration; using osu.Game.Graphics.UserInterface; namespace osu.Game.Overlays.Options.Sections.Online { public class IntegrationOptions : OptionsSubsection { protected override string Header => "Integration"; [BackgroundDependencyLoader] private void load(OsuConfigManager config) { Children = new Drawable[] { new OsuCheckbox { LabelText = "Integrate with Yahoo! status display", Bindable = config.GetBindable(OsuConfig.YahooIntegration) }, new OsuCheckbox { LabelText = "Integrate with MSN Live status display", Bindable = config.GetBindable(OsuConfig.MsnIntegration) }, new OsuCheckbox { LabelText = "Automatically start osu!direct downloads", Bindable = config.GetBindable(OsuConfig.AutomaticDownload) }, new OsuCheckbox { LabelText = "Prefer no-video downloads", Bindable = config.GetBindable(OsuConfig.AutomaticDownloadNoVideo) }, }; } } }