#16 expose columns, rows, font size
[nikiroo-utils.git] / src / jexer / session / SwingSessionInfo.java
index 07e7b227d7f9bd4045df8639d5df0f5e13af339f..dcba27da5dc37a2778e4aa02ad5eb5483dab058d 100644 (file)
@@ -133,13 +133,17 @@ public final class SwingSessionInfo implements SessionInfo {
      * @param frame the Swing Frame
      * @param textWidth the width of a cell in pixels
      * @param textHeight the height of a cell in pixels
+     * @param windowWidth the number of text columns to start with
+     * @param windowHeight the number of text rows to start with
      */
     public SwingSessionInfo(final Frame frame, final int textWidth,
-        final int textHeight) {
+        final int textHeight, final int windowWidth, final int windowHeight) {
 
-        this.frame      = frame;
-        this.textWidth  = textWidth;
-        this.textHeight = textHeight;
+        this.frame              = frame;
+        this.textWidth          = textWidth;
+        this.textHeight         = textHeight;
+        this.windowWidth        = windowWidth;
+        this.windowHeight       = windowHeight;
     }
 
     /**