mirror of
https://github.com/osukey/osukey.git
synced 2025-06-08 04:48:04 +09:00
Add xmldoc to SkinnableElementTargetContainer
This commit is contained in:
parent
c93ed541f3
commit
581e7940c7
@ -26,6 +26,9 @@ namespace osu.Game.Skinning
|
|||||||
Target = target;
|
Target = target;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Reload all components in this container from the current skin.
|
||||||
|
/// </summary>
|
||||||
public void Reload()
|
public void Reload()
|
||||||
{
|
{
|
||||||
ClearInternal();
|
ClearInternal();
|
||||||
@ -43,6 +46,12 @@ namespace osu.Game.Skinning
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Add a new skinnable component to this target.
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="component">The component to add.</param>
|
||||||
|
/// <exception cref="NotSupportedException">Thrown when attempting to add an element to a target which is not supported by the current skin.</exception>
|
||||||
|
/// <exception cref="ArgumentException">Thrown if the provided instance is not a <see cref="Drawable"/>.</exception>
|
||||||
public void Add(ISkinnableComponent component)
|
public void Add(ISkinnableComponent component)
|
||||||
{
|
{
|
||||||
if (content == null)
|
if (content == null)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user