using System;
using Gwen.Control;
namespace Gwen.ControlInternal
{
///
/// Properties node.
///
public class PropertyTreeNode : TreeNode
{
///
/// Initializes a new instance of the class.
///
/// Parent control.
public PropertyTreeNode(Base parent)
: base(parent)
{
m_Title.TextColorOverride = Skin.Colors.Properties.Title;
}
///
/// Renders the control using specified skin.
///
/// Skin to use.
protected override void Render(Skin.Base skin)
{
skin.DrawPropertyTreeNode(this, m_InnerPanel.X, m_InnerPanel.Y);
}
}
}