public override void Draw()
        {
            UIRenderer.Layout(this);

            for (int ix = 0; ix < CountX; ix++)
            {
                for (int iy = 0; iy < CountY; iy++)
                {
                    if (Childs[ix, iy] != null)
                    {
                        UIRenderer.Layout(Childs[ix, iy]);
                    }
                }
            }
        }
Exemple #2
0
 public override void Draw()
 {
     UIRenderer.Layout(this);
     Childs.ForEach(component => component.Draw());
 }