2021-04-30 11:41:18 +08:00
|
|
|
// 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.Graphics;
|
|
|
|
|
2021-04-30 11:42:32 +08:00
|
|
|
namespace osu.Game.Skinning
|
2021-04-30 11:41:18 +08:00
|
|
|
{
|
|
|
|
/// <summary>
|
|
|
|
/// Denotes a container which can house <see cref="ISkinnableComponent"/>s.
|
|
|
|
/// </summary>
|
2021-05-11 10:56:14 +08:00
|
|
|
public interface ISkinnableTarget
|
2021-04-30 11:41:18 +08:00
|
|
|
{
|
2021-05-10 21:43:48 +08:00
|
|
|
public SkinnableTarget Target { get; }
|
2021-05-11 10:56:14 +08:00
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Reload this target from the current skin.
|
|
|
|
/// </summary>
|
|
|
|
public void Reload();
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Add the provided item to this target.
|
|
|
|
/// </summary>
|
|
|
|
public void Add(Drawable drawable);
|
2021-04-30 11:41:18 +08:00
|
|
|
}
|
|
|
|
}
|