Contains changes from "gwen-dotnet" removing dependancies on Windows, which ultimately means certain features (e.g. file load/save dialogs) do not work. Those classes still exist, but the code has been commented out.
31 lines
790 B
C#
31 lines
790 B
C#
using System;
|
|
|
|
namespace Gwen.Control
|
|
{
|
|
/// <summary>
|
|
/// Clickable label (for checkboxes etc).
|
|
/// </summary>
|
|
public class LabelClickable : Button
|
|
{
|
|
/// <summary>
|
|
/// Initializes a new instance of the <see cref="LabelClickable"/> class.
|
|
/// </summary>
|
|
/// <param name="parent">Parent control.</param>
|
|
public LabelClickable(Base parent)
|
|
: base(parent)
|
|
{
|
|
IsToggle = false;
|
|
Alignment = Pos.Left | Pos.CenterV;
|
|
}
|
|
|
|
/// <summary>
|
|
/// Renders the control using specified skin.
|
|
/// </summary>
|
|
/// <param name="skin">Skin to use.</param>
|
|
protected override void Render(Skin.Base skin)
|
|
{
|
|
// no button look
|
|
}
|
|
}
|
|
}
|