Ejemplo n.º 1
0
 public void DrawUnifiedBox(bool refresh)
 {
     CUI.SetArea(0, 1, Console.WindowWidth, Console.WindowHeight - 2);
     if (refresh)
     {
         CUI.Clear();
         CUI.LineStyle = LineStyle.Normal;
         CUI.DrawAreaBorder();
     }
     else
     {
         CUI.ScaleAreaCentered(-1, -1);
     }
 }
Ejemplo n.º 2
0
        public void DrawRightBox(bool refresh)
        {
            int panelWidth = (Console.WindowWidth / 2);

            CUI.SetArea(panelWidth, 1, panelWidth, Console.WindowHeight - 2);
            if (refresh)
            {
                CUI.Clear();
                CUI.LineStyle = LineStyle.Normal;
                CUI.DrawAreaBorder();
            }
            else
            {
                CUI.ScaleAreaCentered(-1, -1);
            }
        }