コード例 #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 void Draw(IRenderContext context, ISkin skin, Rectangle layout)
 {
     skin.DrawWindow(context, layout, this);
     if (this.m_Child != null)
     {
         this.m_Child.Draw(context, skin, layout);
     }
 }
コード例 #2
0
ファイル: Window.cs プロジェクト: johnsonc/Protogame
 /// <summary>
 /// The draw.
 /// </summary>
 /// <param name="context">
 /// The context.
 /// </param>
 /// <param name="skin">
 /// The skin.
 /// </param>
 /// <param name="layout">
 /// The layout.
 /// </param>
 public void Draw(IRenderContext context, ISkin skin, Rectangle layout)
 {
     skin.DrawWindow(context, layout, this);
     if (this.m_Child != null)
     {
         this.m_Child.Draw(context, skin, layout);
     }
 }