X-Git-Url: https://git.nikiroo.be/?a=blobdiff_plain;f=src%2Fjexer%2Fsession%2FSwingSessionInfo.java;h=dcba27da5dc37a2778e4aa02ad5eb5483dab058d;hb=c447c6e5759db7ac9bbb05cc1b3618dd38230335;hp=07e7b227d7f9bd4045df8639d5df0f5e13af339f;hpb=a2018e9964f6c58742cd1e6dd0a0c63e244a89d6;p=fanfix.git diff --git a/src/jexer/session/SwingSessionInfo.java b/src/jexer/session/SwingSessionInfo.java index 07e7b22..dcba27d 100644 --- a/src/jexer/session/SwingSessionInfo.java +++ b/src/jexer/session/SwingSessionInfo.java @@ -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; } /**