2using System.Reflection;
3using System.Runtime.CompilerServices;
4using System.Collections.Generic;
5using System.Collections.Immutable;
10using Microsoft.Xna.Framework;
11using Microsoft.Xna.Framework.Graphics;
18 public partial class ComponentTest : FillMethods
32 FitContent =
new CUIBool2(
false,
true),
39 FitContent =
new CUIBool2(
false,
true),
46 FitContent =
new CUIBool2(
false,
true),
50 t3.OnTextChanged += (t) => t2.Text = t;
51 t1.OnTextAdded += (t) =>
CUI.
Log(t);
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.
In fact a static class managing static things.
static void Log(object msg, Color? color=null, [CallerFilePath] string source="", [CallerLineNumber] int lineNumber=0)
Prints a message to console.