private void DrawElement(int index) { int lineNumber = index + this.TopMargin; string text = this.Values[index]; ConsoleBasicDraw.DrawFlatText(text, lineNumber, this.Background, this.Foreground); }
private void DrawSelectedElement(int prevIndex) { this.DrawElement(prevIndex); string text = this.Values[this.SelectedIndex]; int lineNumber = this.SelectedIndex + this.TopMargin; ConsoleBasicDraw.DrawFlatText(text, lineNumber, this.Foreground, this.Background); }
public void Draw(string title, params string[] arguments) { string definition = this.BuildDefinitionValue(arguments); string message = this.BuildFullRow(title, definition); ConsoleBasicDraw.DrawFlatText(message, this.currentLine, ConsoleColor.White, ConsoleColor.Black); this.currentLine++; }