public override void Draw() { this.ButtonClose.X = this.Width - this.ButtonClose.Radius * 3; this.ButtonClose.Y = this.Hieght / 2 - this.ButtonClose.Radius; UIRenderer.RectangleComponent(this); Childs.ForEach(c => c.Draw()); }
public override void Draw() { UIRenderer.ListBox(this); Items.ForEach(item => UIRenderer.RectangleComponent(item)); Childs.ForEach(c => c.Draw()); }