public BasePane AddNewWindowPane()
        {
            BasePane pane = null;

            if (ActiveLayout is BFLYT.Header)
            {
                pane = new BFLYT.WND1((BFLYT.Header)ActiveLayout, RenamePane("W_window"));
            }

            if (pane != null)
            {
                pane.NodeWrapper = LayoutHierarchy.CreatePaneWrapper(pane);
                ActiveLayout.AddPane(pane, ActiveLayout.RootPane);
            }

            return(pane);
        }
        private void DrawWindowPane(BFLYT.WND1 pane, byte effectiveAlpha)
        {
            float frameLeft   = 0;
            float frameTop    = 0;
            float frameRight  = 0;
            float frameBottom = 0;

            if (pane.FrameCount == 1)
            {
            }
            else if (pane.FrameCount == 4)
            {
            }
            else if (pane.FrameCount == 8)
            {
            }
        }