예제 #1
0
파일: Element.cs 프로젝트: AximoGames/AxGui
        /* Order:
         * ComputeStyle
         * ComputeChildBoundsOffers
         * ComputeBounds
         * Render
         */

        protected internal virtual void CallComputeStyle(GlobalProcessLayoutContext ctx)
        {
            var c = ProcessLayoutContext;

            c.GlobalContext = ctx;
            ComputeStyle(c);
        }
예제 #2
0
파일: Element.cs 프로젝트: AximoGames/AxGui
        protected internal virtual void CallComputeChildBoundsOffers(GlobalProcessLayoutContext ctx)
        {
            var c = ProcessLayoutContext;

            c.GlobalContext = ctx;
            ComputeChildBoundsOffers(c);
        }
예제 #3
0
파일: Element.cs 프로젝트: AximoGames/AxGui
        protected internal virtual void CallComputeBounds(GlobalProcessLayoutContext ctx)
        {
            var c = ProcessLayoutContext;

            c.GlobalContext = ctx;
            c.RowPosition   = default;
            c.RowHeight     = default;
            c.RowElements.Clear();
            ComputeBounds(c);
        }