mirror of
https://github.com/ppy/osu.git
synced 2024-12-15 18:53:51 +08:00
Introduce IExpandable
interface
This commit is contained in:
parent
202d0ea1fc
commit
81b07dee56
19
osu.Game/Overlays/IExpandable.cs
Normal file
19
osu.Game/Overlays/IExpandable.cs
Normal file
@ -0,0 +1,19 @@
|
||||
// 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 osu.Framework.Bindables;
|
||||
using osu.Framework.Graphics;
|
||||
|
||||
namespace osu.Game.Overlays
|
||||
{
|
||||
/// <summary>
|
||||
/// An interface for drawables with ability to expand/contract.
|
||||
/// </summary>
|
||||
public interface IExpandable : IDrawable
|
||||
{
|
||||
/// <summary>
|
||||
/// Whether this drawable is in an expanded state.
|
||||
/// </summary>
|
||||
BindableBool Expanded { get; }
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user