using System; using Gwen.Control; namespace Gwen.ControlInternal { /// /// Tree node toggle button (the little plus sign). /// public class TreeToggleButton : Button { /// /// Initializes a new instance of the class. /// /// Parent control. public TreeToggleButton(Base parent) : base(parent) { IsToggle = true; IsTabable = false; } /// /// Renders the focus overlay. /// /// Skin to use. protected override void RenderFocus(Skin.Base skin) { } /// /// Renders the control using specified skin. /// /// Skin to use. protected override void Render(Skin.Base skin) { skin.DrawTreeButton(this, ToggleState); } } }