2using System.Reflection;
3using System.Runtime.CompilerServices;
4using System.Collections.Generic;
5using System.Collections.Immutable;
10using Microsoft.Xna.Framework;
11using Microsoft.Xna.Framework.Graphics;
17 public partial class RandomTest : FillMethods
20 public static void ImpreciseListPositioning(
CUIComponent Main)
31 Border =
new CUIBorder(),
37 Border =
new CUIBorder(),
38 BackgroundColor = Color.Cyan * 0.5f,
45 Border =
new CUIBorder(),
46 BackgroundColor = Color.Cyan * 0.5f,
53 Border =
new CUIBorder(),
54 BackgroundColor = Color.Cyan * 0.5f,
62 BackgroundColor = Color.Blue * 0.5f,
63 Border =
new CUIBorder(),
69 BackgroundColor = Color.Blue * 0.5f,
70 Border =
new CUIBorder(),
76 BackgroundColor = Color.Blue * 0.5f,
77 Border =
new CUIBorder(),
CUIAnchor is just a Vector2 This is a static class containing some helper methods.
Base class for all components.
virtual CUIComponent Append(CUIComponent child, string name=null, [CallerMemberName] string memberName="")
Adds children to the end of the list.
Draggable and resizable container for other components.
Resizing components to it's Height and placing them sequentially.
Resizing components to it's Width and placing them sequentially.