diff src/com/five_ten_sg/connectbot/bean/HostBean.java @ 241:8b68dfb283d2

add host preference for fixed screen size
author Carl Byington <carl@five-ten-sg.com>
date Mon, 14 Jul 2014 10:25:29 -0700
parents bd803721f94a
children e0f5e706a655
line wrap: on
line diff
--- a/src/com/five_ten_sg/connectbot/bean/HostBean.java	Mon Jul 14 10:22:03 2014 -0700
+++ b/src/com/five_ten_sg/connectbot/bean/HostBean.java	Mon Jul 14 10:25:29 2014 -0700
@@ -46,8 +46,8 @@
     private String  delKey = HostDatabase.DELKEY_DEL;
     private float   fontSize = -1;
     private boolean fizedSize = false;
-    private integer fixedWidth = 80;
-    private integer fixedHeight = 25;
+    private int     fixedWidth = 80;
+    private int     fixedHeight = 25;
     private boolean wantSession = true;
     private boolean compression = false;
     private String  httpproxy = null;
@@ -212,16 +212,16 @@
     public boolean getFixedSize() {
         return fixedSize;
     }
-    public void setFixedWidth(float fixedWidth) {
+    public void setFixedWidth(int fixedWidth) {
         this.fixedWidth = fixedWidth;
     }
-    public float getFixedWidth() {
+    public int getFixedWidth() {
         return fixedWidth;
     }
-    public void setFixedHeight(float fixedHeight) {
+    public void setFixedHeight(int fixedHeight) {
         this.fixedHeight = fixedHeight;
     }
-    public float getFixedHeight() {
+    public int getFixedHeight() {
         return fixedHeight;
     }
     public void setCompression(boolean compression) {