comparison src/com/five_ten_sg/connectbot/TerminalView.java @ 94:e3b83c4f02f1

remove 5250 configuration
author Carl Byington <carl@five-ten-sg.com>
date Mon, 16 Jun 2014 17:14:04 -0700
parents 3a58bc86cd6f
children 4dcc071e1feb
comparison
equal deleted inserted replaced
93:3a58bc86cd6f 94:e3b83c4f02f1
60 */ 60 */
61 public class TerminalView extends View implements FontSizeChangedListener { 61 public class TerminalView extends View implements FontSizeChangedListener {
62 62
63 private final Context context; 63 private final Context context;
64 public final TerminalBridge bridge; 64 public final TerminalBridge bridge;
65 public static String homeDirectory;
66 private final Paint paint; 65 private final Paint paint;
67 private final Paint cursorPaint; 66 private final Paint cursorPaint;
68 private final Paint cursorStrokePaint; 67 private final Paint cursorStrokePaint;
69 68
70 // Cursor paints to distinguish modes 69 // Cursor paints to distinguish modes
98 97
99 public TerminalView(Context context, TerminalBridge bridge) { 98 public TerminalView(Context context, TerminalBridge bridge) {
100 super(context); 99 super(context);
101 this.context = context; 100 this.context = context;
102 this.bridge = bridge; 101 this.bridge = bridge;
103 homeDirectory = context.getApplicationInfo().dataDir;
104 paint = new Paint(); 102 paint = new Paint();
105 setLayoutParams(new LayoutParams(LayoutParams.FILL_PARENT, LayoutParams.FILL_PARENT)); 103 setLayoutParams(new LayoutParams(LayoutParams.FILL_PARENT, LayoutParams.FILL_PARENT));
106 setFocusable(true); 104 setFocusable(true);
107 setFocusableInTouchMode(true); 105 setFocusableInTouchMode(true);
108 cursorPaint = new Paint(); 106 cursorPaint = new Paint();