Mercurial > 510Connectbot
comparison src/com/five_ten_sg/connectbot/TerminalView.java @ 93:3a58bc86cd6f
remove 5250 configuration
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Mon, 16 Jun 2014 16:50:13 -0700 |
parents | e5259eab903e |
children | e3b83c4f02f1 |
comparison
equal
deleted
inserted
replaced
92:e5259eab903e | 93:3a58bc86cd6f |
---|---|
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 final String homeDirectory; | 65 public static String homeDirectory; |
66 private final Paint paint; | 66 private final Paint paint; |
67 private final Paint cursorPaint; | 67 private final Paint cursorPaint; |
68 private final Paint cursorStrokePaint; | 68 private final Paint cursorStrokePaint; |
69 | 69 |
70 // Cursor paints to distinguish modes | 70 // Cursor paints to distinguish modes |
98 | 98 |
99 public TerminalView(Context context, TerminalBridge bridge) { | 99 public TerminalView(Context context, TerminalBridge bridge) { |
100 super(context); | 100 super(context); |
101 this.context = context; | 101 this.context = context; |
102 this.bridge = bridge; | 102 this.bridge = bridge; |
103 this.homeDirectory = context.getApplicationInfo().dataDir; | 103 homeDirectory = context.getApplicationInfo().dataDir; |
104 paint = new Paint(); | 104 paint = new Paint(); |
105 setLayoutParams(new LayoutParams(LayoutParams.FILL_PARENT, LayoutParams.FILL_PARENT)); | 105 setLayoutParams(new LayoutParams(LayoutParams.FILL_PARENT, LayoutParams.FILL_PARENT)); |
106 setFocusable(true); | 106 setFocusable(true); |
107 setFocusableInTouchMode(true); | 107 setFocusableInTouchMode(true); |
108 cursorPaint = new Paint(); | 108 cursorPaint = new Paint(); |