예제 #1
0
        public override void Redraw()
        {
            // Hack if you need more than 256 colors
            ColorPair.ReleaseAll();
            for (int i = 0; i < Curses.Colors; i++)
            {
                if (i >= Height)
                {
                    break;
                }

                int y = start + i;

                string str = string.Format("\x0000{0} {1} \x0000{0},{0} ", y, FillSpace(y));
                ColorString.Fill(this, str, 0, i, Width, 1);
            }
        }