예제 #1
0
 /// <summary>
 /// Wraps an existing text surface using a <see cref="TextSurfaceRenderer"/> to render.
 /// </summary>
 /// <param name="textData">The backing text surface.</param>
 public Console(ISurface textData) : base(textData)
 {
     Children      = new ScreenCollection(this);
     virtualCursor = new Cursor(this);
     Renderer      = new SurfaceRenderer();
     textSurface   = textData;
 }
예제 #2
0
파일: Screen.cs 프로젝트: x3nx1a/SadConsole
 /// <summary>
 /// Creates a new screen.
 /// </summary>
 public Screen()
 {
     Children = new ScreenCollection(this);
 }
예제 #3
0
 public ConsoleContainer()
 {
     Children = new ScreenCollection(this);
 }