// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. #nullable disable using System; using osu.Framework.Graphics; namespace osu.Game.Overlays.Settings { public interface ISettingsItem : IDrawable, IDisposable { event Action SettingChanged; /// /// Whether this setting has a classic default (ie. a different default which better aligns with osu-stable expectations). /// bool HasClassicDefault { get; } /// /// Apply the classic default value of the associated setting. Will throw if is false. /// void ApplyClassicDefault(); /// /// Apply the default value of the associated setting. /// void ApplyDefault(); } }