Mercurial > hg > Members > you > TreeVNC
changeset 55:163ce1743f49 default
update testDataInputStream.java
author | one |
---|---|
date | Tue, 22 May 2012 17:54:10 +0900 |
parents | 923513c47b8f |
children | |
files | src/test/testDataInputStream.java src/treeVnc/RfbProto.java |
diffstat | 2 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/test/testDataInputStream.java Tue May 22 17:32:23 2012 +0900 +++ b/src/test/testDataInputStream.java Tue May 22 17:54:10 2012 +0900 @@ -54,6 +54,7 @@ d.reset(); long bufSize = rfbc.getNumBytesRead(); int msgType = rfbc.readServerMessageType(); + rfbc.setFramebufferSize(3200,1080); rfbc.readFramebufferUpdate(); rfbc.readFramebufferUpdateRectHdr(); } catch (IOException e) {
--- a/src/treeVnc/RfbProto.java Tue May 22 17:32:23 2012 +0900 +++ b/src/treeVnc/RfbProto.java Tue May 22 17:54:10 2012 +0900 @@ -775,7 +775,7 @@ // Set new framebuffer size // - void setFramebufferSize(int width, int height) { + public void setFramebufferSize(int width, int height) { framebufferWidth = width; framebufferHeight = height; }