public override void Draw() { Text.X = this.X + this.Radius; Text.Y = this.Y + this.Radius; UIRenderer.ButtonCircle(this); UIRenderer.TextBlock(Text); Childs.ForEach(ui => ui.Draw()); }
public override void Draw() { Text.X = this.X + this.Width / 2; Text.Y = this.Y + this.Hieght / 2; UIRenderer.ButtonRect(this); UIRenderer.TextBlock(Text); Childs.ForEach(ui => ui.Draw()); }
public override void Draw() { Title.X = this.X + this.Width / 2; Title.Y = this.Y + 10; UIRenderer.Window(this); // UIRenderer.Layout(Cap); //UIRenderer.ButtonCircle(ButtonClose); Childs.ForEach(c => c.Draw()); UIRenderer.TextBlock(Title); }
public override void Draw() { UIRenderer.TextBlock(this); }