Пример #1
0
 void OnSerialize()
 {
     if (!isSerialize)
     {
         isSerialize = true;
         type        = XCodeTypeTemplate.GetInstance().GetTemplate(typeof(void));
     }
 }
Пример #2
0
        public virtual void DrawType(XBaseWindow window)
        {
            XBaseWindow.DoButton("Type", () => {
                XCodeTypeTemplate.SelectType(x => type = x);
            });

            memberAttribute = (MemberAttributes)XBaseWindow.CreateEnumPopup(memberAttribute);
        }
Пример #3
0
 public void Draw(XBaseWindow window)
 {
     window.DoButton("Type", () => {
         XCodeTypeTemplate.SelectType(x => type = x);
     });
 }
Пример #4
0
 internal static XCodeTemplateWindow Init(XCodeTypeTemplate template)
 {
     Target = template;
     return(InitWindow <XCodeTemplateWindow>());
 }