예제 #1
0
        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);
        }
예제 #2
0
 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);
 }
예제 #3
0
 public static PxPre.UIL.EleBoxSizer Chn_Border(this PxPre.UIL.EleBoxSizer szr, PxPre.UIL.PadRect pr)
 {
     szr.border = pr;
     return(szr);
 }
예제 #4
0
 public static PxPre.UIL.EleBoxSizer Chn_Border(this PxPre.UIL.EleBoxSizer szr, float all)
 {
     szr.border = new PxPre.UIL.PadRect(all);
     return(szr);
 }
예제 #5
0
        public EleBoxSizer VerticalSizer(EleBaseSizer parent, float proportion, LFlag flags)
        {
            EleBoxSizer bs = new EleBoxSizer(parent, Direction.Vert, proportion, flags);

            return(bs);
        }
예제 #6
0
        public EleBoxSizer HorizontalSizer(EleBaseSizer parent, float proportion, LFlag flags)
        {
            EleBoxSizer bs = new EleBoxSizer(parent, Direction.Horiz, proportion, flags);

            return(bs);
        }
예제 #7
0
        public EleBoxSizer VerticalSizer(EleBaseRect parent, string name = "")
        {
            EleBoxSizer bs = new EleBoxSizer(parent, Direction.Vert, name);

            return(bs);
        }
예제 #8
0
        public EleBoxSizer HorizontalSizer(EleBaseRect parent, string name = "")
        {
            EleBoxSizer bs = new EleBoxSizer(parent, Direction.Horiz, name);

            return(bs);
        }