Exemple #1
0
 public ConsoleWindow(double x, double y, Color b, string[] text, Color color, Color ground, Color shadow, Color border)
 {
     this.x      = x;
     this.y      = y;
     this.b      = ConsoleHelpers.Convert(b);
     this.color  = ConsoleHelpers.Convert(color);
     this.ground = ConsoleHelpers.Convert(ground);
     this.shadow = ConsoleHelpers.Convert(shadow);
     this.border = ConsoleHelpers.Convert(border);
     this.text   = text;
 }
Exemple #2
0
 public void SetBackground(Color background)
 {
     this.background = ConsoleHelpers.Convert(background);
 }
Exemple #3
0
 private void ClearDevice()
 {
     Console.BackgroundColor = background;
     ConsoleHelpers.FillRect(background);
 }