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; }
public void SetBackground(Color background) { this.background = ConsoleHelpers.Convert(background); }
private void ClearDevice() { Console.BackgroundColor = background; ConsoleHelpers.FillRect(background); }