summaryrefslogtreecommitdiffstats
path: root/java/src/com/tightvnc
diff options
context:
space:
mode:
authorenikey <enikey@3789f03b-4d11-0410-bbf8-ca57d06f2519>2008-12-19 06:28:08 +0000
committerenikey <enikey@3789f03b-4d11-0410-bbf8-ca57d06f2519>2008-12-19 06:28:08 +0000
commitd734f10fe8a752638adbbb151627a10b766ecc40 (patch)
treeae44a768b66b4841d320846993decdee6b014732 /java/src/com/tightvnc
parent1b758b75df6f1bd839fec31959075051dba76ccf (diff)
downloadtigervnc-d734f10fe8a752638adbbb151627a10b766ecc40.tar.gz
tigervnc-d734f10fe8a752638adbbb151627a10b766ecc40.zip
[Developement] Added hextile decoder constants and class constructor.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3423 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'java/src/com/tightvnc')
-rw-r--r--java/src/com/tightvnc/decoder/HextileDecoder.java22
1 files changed, 21 insertions, 1 deletions
diff --git a/java/src/com/tightvnc/decoder/HextileDecoder.java b/java/src/com/tightvnc/decoder/HextileDecoder.java
index 122c9749..17a69901 100644
--- a/java/src/com/tightvnc/decoder/HextileDecoder.java
+++ b/java/src/com/tightvnc/decoder/HextileDecoder.java
@@ -1,5 +1,25 @@
package com.tightvnc.decoder;
-public class HextileDecoder {
+import com.tightvnc.vncviewer.RfbInputStream;
+import java.awt.Graphics;
+
+public class HextileDecoder extends RawDecoder {
+
+ // Contstants used in the Hextile decoder
+ final static int
+ HextileRaw = 1,
+ HextileBackgroundSpecified = 2,
+ HextileForegroundSpecified = 4,
+ HextileAnySubrects = 8,
+ HextileSubrectsColoured = 16;
+
+ public HextileDecoder(Graphics g, RfbInputStream is) {
+ super(g, is);
+ }
+
+ public HextileDecoder(Graphics g, RfbInputStream is, int frameBufferW,
+ int frameBufferH) {
+ super(g, is, frameBufferW, frameBufferH);
+ }
}