示例#1
0
        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);
        }
示例#2
0
        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);
        }
示例#3
0
        public override Canvass Paint()
        {
            var c           = new Canvass();
            var focusMarker = (IsFocused?">": " ");

            Canvass.PaintString(c, " " + focusMarker + buttonText + "  ", 0, 0, -10, backgroundColor, foregroundColor);
            return(c);
        }