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
29 StartValue =
new Color(0, 0, 0, 32),
30 EndValue =
new Color(0, 0, 32, 255),
31 Property =
"BackgroundColor",
36 frame.OnMouseEnter += (e) =>
38 frame.Animations[
"fade"].Direction = CUIDirection.Straight;
39 frame.Animations[
"fade"].Start();
42 frame.OnMouseLeave += (e) =>
44 frame.Animations[
"fade"].Direction = CUIDirection.Reverse;
45 frame.Animations[
"fade"].Start();
CUIAnchor is just a Vector2 This is a static class containing some helper methods.
WIP, can animate any property on any object Can run back and forth in [0..1] interval and interpolate...
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.