Esempio n. 1
0
 /// <summary>
 /// Renders the control using specified skin.
 /// </summary>
 /// <param name="skin">Skin to use.</param>
 protected override void Render(Skin.SkinBase skin)
 {
     if (ShouldDrawBackground)
     {
         var end     = m_Label.TextX + m_Label.TextWidth;
         int txwidth = m_Label.TextWidth - (end - Math.Min(end, Width - Padding.Right));
         skin.DrawGroupBox(this, m_Label.TextX, m_Label.TextHeight, txwidth);
     }
 }
 /// <summary>
 /// Renders the control using specified skin.
 /// </summary>
 /// <param name="skin">Skin to use.</param>
 protected override void Render(Skin.SkinBase skin)
 {
     skin.DrawGroupBox(this, TextX, TextHeight, TextWidth);
 }
Esempio n. 3
0
 /// <summary>
 /// Renders the control using specified skin.
 /// </summary>
 /// <param name="skin">Skin to use.</param>
 protected override void Render(Skin.SkinBase skin)
 {
     skin.DrawGroupBox(this, 10, m_Text.ActualHeight, m_Text.ActualWidth);
 }