]> source.dussan.org Git - tigervnc.git/commitdiff
[Developement] Added hextile decoder constants and class constructor.
authorenikey <enikey@3789f03b-4d11-0410-bbf8-ca57d06f2519>
Fri, 19 Dec 2008 06:28:08 +0000 (06:28 +0000)
committerenikey <enikey@3789f03b-4d11-0410-bbf8-ca57d06f2519>
Fri, 19 Dec 2008 06:28:08 +0000 (06:28 +0000)
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3423 3789f03b-4d11-0410-bbf8-ca57d06f2519

java/src/com/tightvnc/decoder/HextileDecoder.java

index 122c9749a2a5b957589a4f61425205f83898c22e..17a6990174b6d7271a82b757359e692f4dd8decf 100644 (file)
@@ -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);
+  }
 
 }