public override Canvass Paint() { var c = new Canvass(); var menu = $"AsciiUml v0.1.1 Selected: {state.SelectedId?.ToString() ?? "None"}. ({state.TheCurser}) Press \'h\' for help"; Canvass.PaintString(c, menu, 0, 0, -1, ConsoleColor.DarkGreen, ConsoleColor.Green); return(c); }
public override Canvass Paint() { var c = new Canvass(); var menu = state.Gui.TopMenuTextOverride ?? DefaultMenu(); Canvass.PaintString(c, menu, 0, 0, -1, ConsoleColor.DarkGreen, ConsoleColor.Green); return(c); }
public override Canvass Paint() { var c = new Canvass(); var focusMarker = (IsFocused?">": " "); Canvass.PaintString(c, " " + focusMarker + buttonText + " ", 0, 0, -10, backgroundColor, foregroundColor); return(c); }