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 PropTest : FillMethods
30 BackgroundColor = Color.Lime,
36 FitContent =
new CUIBool2(
true,
false),
38 BackgroundColor = Color.Blue,
40 frame[
"list"].
Append(Box());
41 frame[
"list"].
Append(Box());
42 frame[
"list"].
Append(Box());
43 frame[
"list"].
Append(Box());
44 frame[
"list"].
Append(Box());
45 frame[
"list"].
Append(Box());
46 frame[
"list"].
Append(Box());
47 frame[
"list"].
Append(Box());
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.