Mercurial > hg > Members > nobuyasu > tightVNCProxy
changeset 125:e3dddee7b934
modify OptionsNofFrame.java
author | e085711 |
---|---|
date | Mon, 08 Aug 2011 16:54:34 +0900 |
parents | c2c21a67097c |
children | cb00150c223e |
files | src/myVncProxy/OptionsNoFrame.java src/myVncProxy/ProxyVncCanvas.java src/myVncProxy/VncProxyService.java |
diffstat | 3 files changed, 9 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/myVncProxy/OptionsNoFrame.java Sun Aug 07 15:53:19 2011 +0900 +++ b/src/myVncProxy/OptionsNoFrame.java Mon Aug 08 16:54:34 2011 +0900 @@ -74,13 +74,16 @@ // Constructor. Set up the labels and choices from the names and values // arrays. // - + OptionsNoFrame(VncProxyService v) { viewer = v; + preferredEncoding = -1; } OptionsNoFrame(VncProxyService v, VncCanvas vc) { - +// OptionsNoFrame(VncProxyService v) { + viewer = v; + for (int i = 0; i < names.length; i++) { labels[i] = new Label(names[i]);
--- a/src/myVncProxy/ProxyVncCanvas.java Sun Aug 07 15:53:19 2011 +0900 +++ b/src/myVncProxy/ProxyVncCanvas.java Mon Aug 08 16:54:34 2011 +0900 @@ -377,7 +377,6 @@ switch (msgType) { case MyRfbProto.SpeedCheckMillis: rfb.readSpeedCheck(); - break; case RfbProto.FramebufferUpdate:
--- a/src/myVncProxy/VncProxyService.java Sun Aug 07 15:53:19 2011 +0900 +++ b/src/myVncProxy/VncProxyService.java Mon Aug 08 16:54:34 2011 +0900 @@ -355,18 +355,22 @@ encodings[nEncodings++] = preferredEncoding; +/* if (options.useCopyRect) { encodings[nEncodings++] = RfbProto.EncodingCopyRect; } if (preferredEncoding != RfbProto.EncodingTight) { encodings[nEncodings++] = RfbProto.EncodingTight; } +*/ if (preferredEncoding != RfbProto.EncodingZRLE) { encodings[nEncodings++] = RfbProto.EncodingZRLE; } +/* if (preferredEncoding != RfbProto.EncodingHextile) { encodings[nEncodings++] = RfbProto.EncodingHextile; } +*/ if (preferredEncoding != RfbProto.EncodingZlib) { encodings[nEncodings++] = RfbProto.EncodingZlib; }