diff options
author | wimba.com <wimba.com@3789f03b-4d11-0410-bbf8-ca57d06f2519> | 2007-11-19 19:05:01 +0000 |
---|---|---|
committer | wimba.com <wimba.com@3789f03b-4d11-0410-bbf8-ca57d06f2519> | 2007-11-19 19:05:01 +0000 |
commit | 8091a2f0c619ecc5aea08cddef6615a923ad593b (patch) | |
tree | e996bc9b9869097dbaf88345195be9523b51b451 | |
parent | 9831b8104bac0ab419af77b0d7fbfd15a62b3e91 (diff) | |
download | tigervnc-8091a2f0c619ecc5aea08cddef6615a923ad593b.tar.gz tigervnc-8091a2f0c619ecc5aea08cddef6615a923ad593b.zip |
Changed the name of the package from com.HorizonLive.RfbPlayer to com.wimba.RfbPlayer, in each file. Removed unused variables and imports.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2548 3789f03b-4d11-0410-bbf8-ca57d06f2519
9 files changed, 11 insertions, 26 deletions
diff --git a/java/src/com/tightvnc/rfbplayer/ButtonPanel.java b/java/src/com/tightvnc/rfbplayer/ButtonPanel.java index 306c62ec..167f7719 100644 --- a/java/src/com/tightvnc/rfbplayer/ButtonPanel.java +++ b/java/src/com/tightvnc/rfbplayer/ButtonPanel.java @@ -17,11 +17,10 @@ // USA. // -package com.HorizonLive.RfbPlayer; +package com.wimba.RfbPlayer; import java.awt.*; import java.awt.event.*; -import java.io.*; class ButtonPanel extends Panel implements ActionListener { diff --git a/java/src/com/tightvnc/rfbplayer/FbsInputStream.java b/java/src/com/tightvnc/rfbplayer/FbsInputStream.java index 724ff306..e49d7f81 100644 --- a/java/src/com/tightvnc/rfbplayer/FbsInputStream.java +++ b/java/src/com/tightvnc/rfbplayer/FbsInputStream.java @@ -21,7 +21,7 @@ // FbsInputStream.java // -package com.HorizonLive.RfbPlayer; +package com.wimba.RfbPlayer; import java.io.*; import java.util.*; diff --git a/java/src/com/tightvnc/rfbplayer/LWScrollPane.java b/java/src/com/tightvnc/rfbplayer/LWScrollPane.java index c9b49606..40bed895 100644 --- a/java/src/com/tightvnc/rfbplayer/LWScrollPane.java +++ b/java/src/com/tightvnc/rfbplayer/LWScrollPane.java @@ -1,5 +1,5 @@ -package com.HorizonLive.RfbPlayer; +package com.wimba.RfbPlayer; import java.awt.*; import java.awt.event.*; diff --git a/java/src/com/tightvnc/rfbplayer/PARfbSender.java b/java/src/com/tightvnc/rfbplayer/PARfbSender.java index c73fe25e..813f6c1f 100644 --- a/java/src/com/tightvnc/rfbplayer/PARfbSender.java +++ b/java/src/com/tightvnc/rfbplayer/PARfbSender.java @@ -1,5 +1,5 @@ -package com.HorizonLive.RfbPlayer; +package com.wimba.RfbPlayer; import java.applet.*; diff --git a/java/src/com/tightvnc/rfbplayer/RfbPlayer.java b/java/src/com/tightvnc/rfbplayer/RfbPlayer.java index be081a0d..c55517ec 100644 --- a/java/src/com/tightvnc/rfbplayer/RfbPlayer.java +++ b/java/src/com/tightvnc/rfbplayer/RfbPlayer.java @@ -18,7 +18,7 @@ // USA. // -package com.HorizonLive.RfbPlayer; +package com.wimba.RfbPlayer; import java.awt.*; import java.awt.event.*; diff --git a/java/src/com/tightvnc/rfbplayer/RfbPlayerSetDisplaySize.java b/java/src/com/tightvnc/rfbplayer/RfbPlayerSetDisplaySize.java index 917b1122..62efbdb5 100644 --- a/java/src/com/tightvnc/rfbplayer/RfbPlayerSetDisplaySize.java +++ b/java/src/com/tightvnc/rfbplayer/RfbPlayerSetDisplaySize.java @@ -1,5 +1,5 @@ -package com.HorizonLive.RfbPlayer; +package com.wimba.RfbPlayer; import java.applet.*; diff --git a/java/src/com/tightvnc/rfbplayer/RfbProto.java b/java/src/com/tightvnc/rfbplayer/RfbProto.java index df260199..09259752 100644 --- a/java/src/com/tightvnc/rfbplayer/RfbProto.java +++ b/java/src/com/tightvnc/rfbplayer/RfbProto.java @@ -24,11 +24,9 @@ // RfbProto.java // -package com.HorizonLive.RfbPlayer; +package com.wimba.RfbPlayer; import java.io.*; -import java.awt.*; -import java.awt.event.*; import java.net.*; class RfbProto { diff --git a/java/src/com/tightvnc/rfbplayer/RfbSharedStatic.java b/java/src/com/tightvnc/rfbplayer/RfbSharedStatic.java index 377ede3c..59d77f53 100644 --- a/java/src/com/tightvnc/rfbplayer/RfbSharedStatic.java +++ b/java/src/com/tightvnc/rfbplayer/RfbSharedStatic.java @@ -1,5 +1,5 @@ -package com.HorizonLive.RfbPlayer; +package com.wimba.RfbPlayer; import java.applet.*; diff --git a/java/src/com/tightvnc/rfbplayer/VncCanvas.java b/java/src/com/tightvnc/rfbplayer/VncCanvas.java index f27a3500..3aad32ad 100644 --- a/java/src/com/tightvnc/rfbplayer/VncCanvas.java +++ b/java/src/com/tightvnc/rfbplayer/VncCanvas.java @@ -21,13 +21,11 @@ // USA. // -package com.HorizonLive.RfbPlayer; +package com.wimba.RfbPlayer; import java.awt.*; -import java.awt.event.*; import java.awt.image.*; import java.io.*; -import java.lang.*; import java.util.*; import java.util.zip.*; @@ -370,8 +368,6 @@ class VncCanvas extends Component case RfbProto.FramebufferUpdate: rfb.readFramebufferUpdate(); - boolean cursorPosReceived = false; - for (int i = 0; i < rfb.updateNRects; i++) { rfb.readFramebufferUpdateRectHdr(); int rx = rfb.updateRectX, ry = rfb.updateRectY; @@ -396,7 +392,6 @@ class VncCanvas extends Component if (rfb.updateRectEncoding == rfb.EncodingPointerPos) { softCursorMove(rx, ry); - cursorPosReceived = true; continue; } @@ -437,7 +432,7 @@ class VncCanvas extends Component break; case RfbProto.ServerCutText: - String s = rfb.readServerCutText(); + rfb.readServerCutText(); break; default: @@ -766,7 +761,6 @@ class VncCanvas extends Component // Read filter id and parameters. int numColors = 0, rowSize = w; - byte[] palette8 = new byte[2]; int[] palette24 = new int[256]; boolean useGradient = false; if ((comp_ctl & rfb.TightExplicitFilter) != 0) { @@ -1159,7 +1153,7 @@ class VncCanvas extends Component rfb.is.readFully(maskBuf); // Decode pixel data into softCursorPixels[]. - byte pixByte, maskByte; + byte maskByte; int x, y, n, result; int i = 0; for (y = 0; y < height; y++) { @@ -1217,12 +1211,6 @@ class VncCanvas extends Component //if (scaleCursor == 0 || !inputEnabled) //scaleCursor = 100; - // Save original cursor coordinates. - int x = cursorX - hotX; - int y = cursorY - hotY; - int w = cursorWidth; - int h = cursorHeight; - cursorWidth = (origCursorWidth * scaleCursor + 50) / 100; cursorHeight = (origCursorHeight * scaleCursor + 50) / 100; hotX = (origHotX * scaleCursor + 50) / 100; |