Ejemplo n.º 1
0
 /// <summary>
 /// The draw.
 /// </summary>
 /// <param name="context">
 /// The context.
 /// </param>
 /// <param name="skin">
 /// The skin.
 /// </param>
 /// <param name="layout">
 /// The layout.
 /// </param>
 public virtual void Draw(IRenderContext context, ISkin skin, Rectangle layout)
 {
     skin.DrawSingleContainer(context, layout, this);
     if (this.m_Child != null)
     {
         this.m_Child.Draw(context, skin, layout);
     }
 }
Ejemplo n.º 2
0
 /// <summary>
 /// The draw.
 /// </summary>
 /// <param name="context">
 /// The context.
 /// </param>
 /// <param name="skin">
 /// The skin.
 /// </param>
 /// <param name="layout">
 /// The layout.
 /// </param>
 public virtual void Draw(IRenderContext context, ISkin skin, Rectangle layout)
 {
     skin.DrawSingleContainer(context, layout, this);
     if (this.m_Child != null)
     {
         this.m_Child.Draw(context, skin, layout);
     }
 }