diff options
Diffstat (limited to 'source/ui/elements/IContainer.cs')
| -rw-r--r-- | source/ui/elements/IContainer.cs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/source/ui/elements/IContainer.cs b/source/ui/elements/IContainer.cs new file mode 100644 index 0000000..0d3550c --- /dev/null +++ b/source/ui/elements/IContainer.cs @@ -0,0 +1,12 @@ +using System; +using System.Collections.Generic; + +namespace Celesteia.UI.Elements { + public interface IContainer : IElement, IDisposable { + // Get the element's children. + List<IElement> GetChildren(); + + // Add to the element's children. + void AddChild(IElement element); + } +}
\ No newline at end of file |
