Mercurial > hg > Applications > TreeVNC
annotate src/main/java/com/glavsoft/rfb/protocol/NullRenderer.java @ 630:7071b01621c2 default tip
Determine ipv4 or ipv6 and fix scond display
author | riono <e165729@ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 28 Apr 2020 19:49:38 +0900 |
parents | 6f95d475906b |
children |
rev | line source |
---|---|
26
73b13bc335c2
add ZRLEESender.java, NullRenderer.java and NullRepaintController.java
one
parents:
diff
changeset
|
1 package com.glavsoft.rfb.protocol; |
73b13bc335c2
add ZRLEESender.java, NullRenderer.java and NullRepaintController.java
one
parents:
diff
changeset
|
2 |
30 | 3 import com.glavsoft.drawing.ColorDecoder; |
26
73b13bc335c2
add ZRLEESender.java, NullRenderer.java and NullRepaintController.java
one
parents:
diff
changeset
|
4 import com.glavsoft.drawing.Renderer; |
30 | 5 import com.glavsoft.exceptions.TransportException; |
569 | 6 import com.glavsoft.rfb.encoding.PixelFormat; |
26
73b13bc335c2
add ZRLEESender.java, NullRenderer.java and NullRepaintController.java
one
parents:
diff
changeset
|
7 import com.glavsoft.rfb.encoding.decoder.FramebufferUpdateRectangle; |
30 | 8 import com.glavsoft.transport.Reader; |
26
73b13bc335c2
add ZRLEESender.java, NullRenderer.java and NullRepaintController.java
one
parents:
diff
changeset
|
9 |
59 | 10 public class NullRenderer extends Renderer { |
26
73b13bc335c2
add ZRLEESender.java, NullRenderer.java and NullRepaintController.java
one
parents:
diff
changeset
|
11 |
559
3481a187687f
correct bytesPerPixcel in NullRenderer
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
59
diff
changeset
|
12 private int bytePerPixcel; |
3481a187687f
correct bytesPerPixcel in NullRenderer
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
59
diff
changeset
|
13 |
569 | 14 public NullRenderer(int i, int width, int height, PixelFormat pixelFormat) { |
15 super(); | |
16 init(null, width, height, pixelFormat); | |
30 | 17 } |
18 | |
19 @Override | |
569 | 20 public void drawJpegImage(byte[] bytes, int offset, int jpegBufferLength, FramebufferUpdateRectangle rect) { |
30 | 21 |
22 } | |
26
73b13bc335c2
add ZRLEESender.java, NullRenderer.java and NullRepaintController.java
one
parents:
diff
changeset
|
23 } |