public Frame(int width, int height, BasePositionProfile positionProfile, Colour colour) : base(positionProfile) { this.Width = width; this.Height = height; this.PositionProfile = positionProfile; this.colour = colour; this.Components = new List <BaseComponent>(); }
public Container( int width, int height, BasePositionProfile positionProfile, int priority, Colour backgroundColour, Colour hoverBackgroundColor) : base(width, height, positionProfile, priority) { }
public BaseComplexComponent(int width, int height, BasePositionProfile positionProfile, int priority) : base(positionProfile) { this.Width = width; this.Height = height; this.Priority = priority; this.Interactive = true; this.Visible = true; this.EventResponses = new List <EventResponse>(); this.Hovered = false; this.Blocker = false; }
public Button( int width, int height, string text, BasePositionProfile positionProfile, int priority, Colour textColour, Colour hoverTextColour, Colour backgroundColour, Colour hoverBackgroundColour) : base(width, height, positionProfile, priority) { }
public Toolbar( int width, int height, BasePositionProfile positionProfile, int priority, Colour backgroundColour, List <IIconable> iconables) : base(width, height, positionProfile, priority) { this.BackgroundColour = backgroundColour; this.Icons = new List <Icon>(); this.Tools = new List <IIconable>(); }
public FontGraphics(string text, int maxWidth, int gutter, BasePositionProfile positionProfile, FontFlow fontFlow, Colour colour, SpriteFont font) : base(positionProfile) { this.text = text; this.displayText = text; this.maxWidth = maxWidth; this.gutter = gutter; this.fontFlow = fontFlow; this.colour = colour; this.font = font; this.scale = 1; }
public ImageGraphics(Texture2D image, BasePositionProfile positionProfile) : base(positionProfile) { this.image = image; }
public Icon(int width, int height, BasePositionProfile positionProfile, int priority, Texture2D texture) : base(width, height, positionProfile, priority) { this.Texture = texture; }
public BaseComponent(BasePositionProfile positionProfile) { this.PositionProfile = positionProfile; }