using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.UI.WebControls;
using ClientDependency.Core;
using System.Web.UI;
using ClientDependency.Core.Controls;

namespace umbraco.cms.businesslogic.skinning.controls
{
    [ClientDependency(450,ClientDependencyType.Javascript, "colorpicker/js/colorpicker.js", "UmbracoClient")]
    [ClientDependency(460, ClientDependencyType.Javascript, "LiveEditing/Modules/SkinModule/js/initcolorpicker.js", "UmbracoRoot")]
    [ClientDependency(200,ClientDependencyType.Css, "colorpicker/css/colorpicker.css", "UmbracoClient")]
    public class ColorPicker: TextBox
    {

        protected override void Render(HtmlTextWriter writer)
        {
            this.TextMode = System.Web.UI.WebControls.TextBoxMode.SingleLine;
            this.CssClass = "skinningcolorpicker";

            base.Render(writer);
        }
    }
}
