comparison src/org/tn5250j/framework/tn5250/tnvt.java @ 29:017eeed8332c tn5250

start tn5250 integration
author Carl Byington <carl@five-ten-sg.com>
date Tue, 03 Jun 2014 16:02:29 -0700
parents b29b39f386a4
children b086dd794dba
comparison
equal deleted inserted replaced
28:ad194aedeaab 29:017eeed8332c
1357 int cols = bk.getNextByte() & 0xff; 1357 int cols = bk.getNextByte() & 0xff;
1358 int pos = bk.getNextByte() << 8 & 0xff00; // current position 1358 int pos = bk.getNextByte() << 8 & 0xff00; // current position
1359 pos |= bk.getNextByte() & 0xff; 1359 pos |= bk.getNextByte() & 0xff;
1360 int hPos = bk.getNextByte() << 8 & 0xff00; // home position 1360 int hPos = bk.getNextByte() << 8 & 0xff00; // home position
1361 hPos |= bk.getNextByte() & 0xff; 1361 hPos |= bk.getNextByte() & 0xff;
1362 if (rows != screen52.getRows()) 1362 if ((rows != screen52.getRows()) || (cols != screen52.getColumns()))
1363 screen52.setRowsCols(rows, cols); 1363 screen52.setRowsCols(rows, cols);
1364 screen52.clearAll(); // initialize what we currenty have 1364 screen52.clearAll(); // initialize what we currenty have
1365 if (sfParser != null && sfParser.isGuisExists()) 1365 if (sfParser != null && sfParser.isGuisExists())
1366 sfParser.clearGuiStructs(); 1366 sfParser.clearGuiStructs();
1367 1367