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());
        }
Beispiel #2
0
        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());
        }
Beispiel #3
0
        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);
        }
Beispiel #4
0
 public override void Draw()
 {
     UIRenderer.TextBlock(this);
 }