コード例 #1
0
 public LayoutContent(LayoutAuxiliary aux, string nam)
 {
     auxiliary = aux;
     name      = nam;
     layout    = auxiliary.layoutArea.layout as DesignedDockPanel;
     model     = new ModelElement();
     model.Load(aux.content.ModData);
     model.SetParent(aux.content);
     model.IsChanged = true;
     InitialLabel();
 }
コード例 #2
0
 public LayoutAuxiliary(DockpanelArea area)
 {
     layoutArea = area;
     layout     = area.layout as DesignedDockPanel;
     model      = new ModelElement();
     model.Load(layout.Auxiliary.ModData);
     head              = model.Find("Head");
     panel             = head.GetComponent <LayoutElement>();
     headHigh          = head.data.sizeDelta.y;
     docker            = model.Find("Docker");
     docker.activeSelf = false;
     content           = model.Find("Content");
     model.SetParent(area.model);
     Item             = model.Find("Item");
     Item.activeSelf  = false;
     Cover            = model.Find("Cover");
     Cover.activeSelf = false;
     InitialDocker();
 }
コード例 #3
0
 public DesignedDockAuxiliary(DesignedDockPanel panel)
 {
     layout = panel;
 }
コード例 #4
0
 public DesignedDockContent(DesignedDockPanel panel)
 {
     layout = panel;
 }