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
21 public NestedWrapper()
40 frame.BackgroundColor = CUIExtensions.RandomColor();
CUIAnchor is just a Vector2 This is a static class containing some helper methods.
Base class for all components.
CUINullRect Relative
Relative to parent size and position, [0..1].
virtual CUIComponent Append(CUIComponent child, string name=null, [CallerMemberName] string memberName="")
Adds children to the end of the list.
void AddCommand(string name, Action< object > action)
Manually adds command.
void DispatchUp(CUICommand command)
Dispathes command up the component tree until someone consumes it.
Draggable and resizable container for other components.
record CUICommand(string Name, object Data=null)
Can be dispatched up the component tree to notify parent about something add pass some event data wit...