public override void Render(double delta)
        {
            RenderMenuBounds();
            int extEndY = extendedHelp == null ? 0 : extendedHelp[extendedHelp.Length - 1].BottomRight.Y;

            if (extendedHelp != null && extEndY <= widgets[widgets.Length - 3].Y)
            {
                int x = game.Width / 2 - tableWidth / 2 - 5;
                int y = game.Height / 2 + extHelpY - 5;
                graphicsApi.Draw2DQuad(x, y, tableWidth + 10, tableHeight + 10, tableCol);
            }

            graphicsApi.Texturing = true;
            RenderMenuWidgets(delta);
            if (inputWidget != null)
            {
                inputWidget.Render(delta);
            }


            if (extendedHelp != null && extEndY <= widgets[widgets.Length - 3].Y)
            {
                for (int i = 0; i < extendedHelp.Length; i++)
                {
                    extendedHelp[i].Render(delta);
                }
            }
            if (descWidget != null)
            {
                descWidget.Render(delta);
            }

            graphicsApi.Texturing = false;
        }
 public override void Render(double delta)
 {
     RenderMenuBounds();
     graphicsApi.Texturing = true;
     RenderMenuButtons(delta);
     if (inputWidget != null)
     {
         inputWidget.Render(delta);
     }
     if (descWidget != null)
     {
         descWidget.Render(delta);
     }
     graphicsApi.Texturing = false;
 }
        public override void Render(double delta)
        {
            RenderMenuBounds();
            graphicsApi.Texturing = true;
            RenderMenuButtons(delta);
            inputWidget.Render(delta);
            if (descWidget != null)
            {
                descWidget.Render(delta);
            }
            graphicsApi.Texturing = false;

            if (textPath != null)
            {
                SaveMap(textPath);
                textPath = null;
            }
        }