2using System.Reflection;
3using System.Runtime.CompilerServices;
4using System.Collections.Generic;
5using System.Collections.Immutable;
11using Microsoft.Xna.Framework;
12using Microsoft.Xna.Framework.Graphics;
18 public partial class PropTest : FillMethods
33 Border =
new CUIBorder(Color.White, 15),
40 Border =
new CUIBorder(
new Color(0, 255, 255, 100), 0),
46 Border =
new CUIBorder(
new Color(0, 255, 255, 100), 1),
52 Border =
new CUIBorder(
new Color(0, 255, 255, 100), 2),
58 Border =
new CUIBorder(
new Color(0, 255, 255, 100), 3),
67 c.TopBorder =
new CUIBorder(Color.Red * 0.5f, 10);
68 c.RigthBorder =
new CUIBorder(Color.Lime * 0.5f, 10);
69 c.BottomBorder =
new CUIBorder(Color.Blue * 0.5f, 10);
70 c.LeftBorder =
new CUIBorder(Color.Yellow * 0.5f, 10);
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.
In fact a static class managing static things.
static CUITextureManager TextureManager
Safe texture manager </summary.