public EleBoxSizer PushVertSizer(float proportion, LFlag flags) { EleBoxSizer szr = this.AddVertSizer(proportion, flags); if (szr == null) { return(null); } Entry newE = new Entry(this.head.rect, szr); this.stack.Push(this.head); this.head = newE; return(szr); }
public static PxPre.UIL.EleBoxSizer Chn_Border(this PxPre.UIL.EleBoxSizer szr, float left, float top, float right, float bottom) { szr.border = new PxPre.UIL.PadRect(left, top, right, bottom); return(szr); }
public static PxPre.UIL.EleBoxSizer Chn_Border(this PxPre.UIL.EleBoxSizer szr, PxPre.UIL.PadRect pr) { szr.border = pr; return(szr); }
public static PxPre.UIL.EleBoxSizer Chn_Border(this PxPre.UIL.EleBoxSizer szr, float all) { szr.border = new PxPre.UIL.PadRect(all); return(szr); }
public EleBoxSizer VerticalSizer(EleBaseSizer parent, float proportion, LFlag flags) { EleBoxSizer bs = new EleBoxSizer(parent, Direction.Vert, proportion, flags); return(bs); }
public EleBoxSizer HorizontalSizer(EleBaseSizer parent, float proportion, LFlag flags) { EleBoxSizer bs = new EleBoxSizer(parent, Direction.Horiz, proportion, flags); return(bs); }
public EleBoxSizer VerticalSizer(EleBaseRect parent, string name = "") { EleBoxSizer bs = new EleBoxSizer(parent, Direction.Vert, name); return(bs); }
public EleBoxSizer HorizontalSizer(EleBaseRect parent, string name = "") { EleBoxSizer bs = new EleBoxSizer(parent, Direction.Horiz, name); return(bs); }