示例#1
0
 public unsafe Surface(XConsole.SMALL_COORD _size)
 {
     size     = _size;
     length   = size.x * size.y;
     cursor_x = cursor_y = 0;
     Buffer   = new XConsole.CHAR_INFO[length];
 }
示例#2
0
 public void Scroll(int x, int y)
 {
     scroll = new XConsole.SMALL_COORD((ushort)x, (ushort)y);
 }