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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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
0c08cdc4b572 Create AbstractRenderer.java
one
parents: 26
diff changeset
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
0c08cdc4b572 Create AbstractRenderer.java
one
parents: 26
diff changeset
5 import com.glavsoft.exceptions.TransportException;
569
6f95d475906b fix nullRenderer
riono
parents: 560
diff changeset
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
0c08cdc4b572 Create AbstractRenderer.java
one
parents: 26
diff changeset
8 import com.glavsoft.transport.Reader;
26
73b13bc335c2 add ZRLEESender.java, NullRenderer.java and NullRepaintController.java
one
parents:
diff changeset
9
59
433c79184c05 merge version2.7.2
Taninari YU <you@cr.ie.u-ryukyu.ac.jp>
parents: 30
diff changeset
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
6f95d475906b fix nullRenderer
riono
parents: 560
diff changeset
14 public NullRenderer(int i, int width, int height, PixelFormat pixelFormat) {
6f95d475906b fix nullRenderer
riono
parents: 560
diff changeset
15 super();
6f95d475906b fix nullRenderer
riono
parents: 560
diff changeset
16 init(null, width, height, pixelFormat);
30
0c08cdc4b572 Create AbstractRenderer.java
one
parents: 26
diff changeset
17 }
0c08cdc4b572 Create AbstractRenderer.java
one
parents: 26
diff changeset
18
0c08cdc4b572 Create AbstractRenderer.java
one
parents: 26
diff changeset
19 @Override
569
6f95d475906b fix nullRenderer
riono
parents: 560
diff changeset
20 public void drawJpegImage(byte[] bytes, int offset, int jpegBufferLength, FramebufferUpdateRectangle rect) {
30
0c08cdc4b572 Create AbstractRenderer.java
one
parents: 26
diff changeset
21
0c08cdc4b572 Create AbstractRenderer.java
one
parents: 26
diff changeset
22 }
26
73b13bc335c2 add ZRLEESender.java, NullRenderer.java and NullRepaintController.java
one
parents:
diff changeset
23 }