mirror of
https://github.com/ppy/osu.git
synced 2024-11-15 05:57:29 +08:00
648e7f6bbc
I'm not 100% sure about this approach but it'll do for now.
24 lines
684 B
C#
24 lines
684 B
C#
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
|
|
// See the LICENCE file in the repository root for full licence text.
|
|
|
|
using System;
|
|
|
|
namespace osu.Game.Overlays.Settings
|
|
{
|
|
/// <summary>
|
|
/// A non-generic interface for <see cref="SettingsItem{T}"/>s.
|
|
/// </summary>
|
|
public interface ISettingsItem : IExpandable, IDisposable
|
|
{
|
|
/// <summary>
|
|
/// Invoked when the setting value has changed.
|
|
/// </summary>
|
|
event Action SettingChanged;
|
|
|
|
/// <summary>
|
|
/// Returns whether the UI control is currently in a dragged state.
|
|
/// </summary>
|
|
bool IsControlDragged { get; }
|
|
}
|
|
}
|