/*!
	@file
	@author		Generate utility by Albert Semenov
	@date		01/2009
	@module
*/

using System;
using System.Runtime.InteropServices;

namespace MyGUI.Sharp
{

    public #{Partial} class #{ThisName} : #{BaseName}
    {

        #region #{ThisName}

        public #{ThisName}()
            : base()
        {
        }

        internal #{ThisName}(BaseWidget _parent, IntPtr _widget)
            : base(_parent, _widget)
        {
        }

        internal #{ThisName}(IntPtr _parent, WidgetStyle _style, string _skin, IntCoord _coord, Align _align, string _layer, string _name)
            : base(_parent, _style, _skin, _coord, _align, _layer, _name)
        {
        }

        protected override string GetWidgetType() { return "#{ThisType}"; }

        internal static BaseWidget RequestWrap#{ThisName}(BaseWidget _parent, IntPtr _widget)
        {
            return new #{ThisName}(_parent, _widget);
        }

        internal static BaseWidget RequestCreate#{ThisName}(IntPtr _parent, WidgetStyle _style, string _skin, IntCoord _coord, Align _align, string _layer, string _name)
        {
            return new #{ThisName}(_parent, _style, _skin, _coord, _align, _layer, _name);
        }
        
		#endregion
	
		
		//InsertPoint
		
    }

}
