mirror of
https://github.com/osukey/osukey.git
synced 2025-05-18 20:17:23 +09:00
Add xmldoc around SkinComponentsContainerLookup
This commit is contained in:
parent
cb7df7282b
commit
1a63ca9ece
@ -24,6 +24,9 @@ namespace osu.Game.Skinning
|
|||||||
{
|
{
|
||||||
private Container? content;
|
private Container? content;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// The lookup criteria which will be used to retrieve components from the active skin.
|
||||||
|
/// </summary>
|
||||||
public SkinComponentsContainerLookup Lookup { get; }
|
public SkinComponentsContainerLookup Lookup { get; }
|
||||||
|
|
||||||
public IBindableList<ISerialisableDrawable> Components => components;
|
public IBindableList<ISerialisableDrawable> Components => components;
|
||||||
|
@ -3,8 +3,14 @@
|
|||||||
|
|
||||||
namespace osu.Game.Skinning
|
namespace osu.Game.Skinning
|
||||||
{
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Represents a lookup of a collection of elements that make up a particular skinnable <see cref="TargetArea"/> of the game.
|
||||||
|
/// </summary>
|
||||||
public class SkinComponentsContainerLookup : ISkinComponentLookup
|
public class SkinComponentsContainerLookup : ISkinComponentLookup
|
||||||
{
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// The target area / layer of the game for which skin components will be returned.
|
||||||
|
/// </summary>
|
||||||
public readonly TargetArea Target;
|
public readonly TargetArea Target;
|
||||||
|
|
||||||
public SkinComponentsContainerLookup(TargetArea target)
|
public SkinComponentsContainerLookup(TargetArea target)
|
||||||
@ -12,6 +18,9 @@ namespace osu.Game.Skinning
|
|||||||
Target = target;
|
Target = target;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Represents a particular area or part of a game screen whose layout can be customised using the skin editor.
|
||||||
|
/// </summary>
|
||||||
public enum TargetArea
|
public enum TargetArea
|
||||||
{
|
{
|
||||||
MainHUDComponents,
|
MainHUDComponents,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user