/// <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; }
/// <summary> /// Creates a new screen. /// </summary> public Screen() { Children = new ScreenCollection(this); }
public ConsoleContainer() { Children = new ScreenCollection(this); }