Ejemplo n.º 1
0
        public TerminalEntryRenderArea(CellRenderingOptions settings, Rectangle viewArea, SpriteFont font)
        {
            Contract.Requires(settings != null);
            this.areaSettings = settings;
            this.font         = font;
            this.rowSize      = font.MeasureString("|").Y;

            SetViewingArea(viewArea);
        }
Ejemplo n.º 2
0
 public TerminalWindowRenderArea(CellRenderingOptions settings, Rectangle viewArea, SpriteFont font)
 {
     AreaSettings   = settings;
     this.font      = font;
     screenPosition = new Vector2(viewArea.X, viewArea.Y);
 }