Exemple #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();
 }
Exemple #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();
 }
 public DesignedDockAuxiliary(DesignedDockPanel panel)
 {
     layout = panel;
 }
Exemple #4
0
 public DesignedDockContent(DesignedDockPanel panel)
 {
     layout = panel;
 }