Esempio n. 1
0
        internal ConsoleWiper CreateWiper()
        {
            var wiper = new ConsoleWiper(CreateSnapshot());

            wiper.Bottom = wiper.Top + Height + 1;
            return(wiper);
        }
Esempio n. 2
0
        /// <summary>
        /// Renders the entire progress bar
        /// </summary>
        public void Render()
        {
            if (Console.CursorLeft > 0)
            {
                Console.WriteLine();
            }

            topLeft      = Console.TakeSnapshot();
            messageStart = topLeft.CreateOffsetSnapshot(2, 1);
            wiper        = new ConsoleWiper(topLeft);
            wiper.Bottom = wiper.Top + 2;
            wiper.Wipe();
            DrawBorder();
            Update();
        }
Esempio n. 3
0
 internal ConsoleWiper CreateWiper()
 {
     var wiper = new ConsoleWiper(CreateSnapshot());
     wiper.Bottom = wiper.Top + Height + 1;
     return wiper;
 }
Esempio n. 4
0
        /// <summary>
        /// Renders the entire progress bar
        /// </summary>
        public void Render()
        {
            if(Console.CursorLeft > 0)
            {
                Console.WriteLine();
            }

            topLeft = Console.TakeSnapshot();
            messageStart = topLeft.CreateOffsetSnapshot(2, 1);
            wiper = new ConsoleWiper(topLeft);
            wiper.Bottom = wiper.Top + 2;
            wiper.Wipe();
            DrawBorder();
            Update();
        }