31 lines
798 B
C#
31 lines
798 B
C#
|
using System;
|
|||
|
using Gwen.Control;
|
|||
|
|
|||
|
namespace Gwen.ControlInternal
|
|||
|
{
|
|||
|
/// <summary>
|
|||
|
/// Numeric down arrow.
|
|||
|
/// </summary>
|
|||
|
internal class UpDownButton_Down : Button
|
|||
|
{
|
|||
|
/// <summary>
|
|||
|
/// Initializes a new instance of the <see cref="UpDownButton_Down"/> class.
|
|||
|
/// </summary>
|
|||
|
/// <param name="parent">Parent control.</param>
|
|||
|
public UpDownButton_Down(Base parent)
|
|||
|
: base(parent)
|
|||
|
{
|
|||
|
SetSize(7, 7);
|
|||
|
}
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// Renders the control using specified skin.
|
|||
|
/// </summary>
|
|||
|
/// <param name="skin">Skin to use.</param>
|
|||
|
protected override void Render(Skin.Base skin)
|
|||
|
{
|
|||
|
skin.DrawNumericUpDownButton(this, IsDepressed, false);
|
|||
|
}
|
|||
|
}
|
|||
|
}
|