diff options
author | enikey <enikey@3789f03b-4d11-0410-bbf8-ca57d06f2519> | 2008-12-19 06:28:08 +0000 |
---|---|---|
committer | enikey <enikey@3789f03b-4d11-0410-bbf8-ca57d06f2519> | 2008-12-19 06:28:08 +0000 |
commit | d734f10fe8a752638adbbb151627a10b766ecc40 (patch) | |
tree | ae44a768b66b4841d320846993decdee6b014732 /java/src/com/tightvnc/decoder | |
parent | 1b758b75df6f1bd839fec31959075051dba76ccf (diff) | |
download | tigervnc-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/decoder')
-rw-r--r-- | java/src/com/tightvnc/decoder/HextileDecoder.java | 22 |
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); + } } |