Mercurial > hg > Applications > TreeVNC
annotate src/main/java/com/glavsoft/rfb/protocol/NullRenderer.java @ 30:0c08cdc4b572
Create AbstractRenderer.java
and
Renderer change to Interface
author | one |
---|---|
date | Sat, 01 Sep 2012 20:33:48 +0900 |
parents | 73b13bc335c2 |
children | 433c79184c05 |
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; |
26
73b13bc335c2
add ZRLEESender.java, NullRenderer.java and NullRepaintController.java
one
parents:
diff
changeset
|
6 import com.glavsoft.rfb.encoding.decoder.FramebufferUpdateRectangle; |
30 | 7 import com.glavsoft.transport.Reader; |
26
73b13bc335c2
add ZRLEESender.java, NullRenderer.java and NullRepaintController.java
one
parents:
diff
changeset
|
8 |
30 | 9 public class NullRenderer implements Renderer { |
26
73b13bc335c2
add ZRLEESender.java, NullRenderer.java and NullRepaintController.java
one
parents:
diff
changeset
|
10 |
73b13bc335c2
add ZRLEESender.java, NullRenderer.java and NullRepaintController.java
one
parents:
diff
changeset
|
11 @Override |
73b13bc335c2
add ZRLEESender.java, NullRenderer.java and NullRepaintController.java
one
parents:
diff
changeset
|
12 public void drawJpegImage(byte[] bytes, int offset, int jpegBufferLength, |
73b13bc335c2
add ZRLEESender.java, NullRenderer.java and NullRepaintController.java
one
parents:
diff
changeset
|
13 FramebufferUpdateRectangle rect) { |
73b13bc335c2
add ZRLEESender.java, NullRenderer.java and NullRepaintController.java
one
parents:
diff
changeset
|
14 // TODO Auto-generated method stub |
73b13bc335c2
add ZRLEESender.java, NullRenderer.java and NullRepaintController.java
one
parents:
diff
changeset
|
15 |
73b13bc335c2
add ZRLEESender.java, NullRenderer.java and NullRepaintController.java
one
parents:
diff
changeset
|
16 } |
73b13bc335c2
add ZRLEESender.java, NullRenderer.java and NullRepaintController.java
one
parents:
diff
changeset
|
17 |
30 | 18 @Override |
19 public void copyRect(int srcX, int srcY, FramebufferUpdateRectangle rect) { | |
20 // TODO Auto-generated method stub | |
21 | |
22 } | |
23 | |
24 @Override | |
25 public int readPixelColor(Reader reader) throws TransportException { | |
26 // TODO Auto-generated method stub | |
27 return 0; | |
28 } | |
29 | |
30 @Override | |
31 public void fillRect(int i, int tileX, int tileY, int tileWidth, | |
32 int tileHeight) { | |
33 // TODO Auto-generated method stub | |
34 | |
35 } | |
36 | |
37 @Override | |
38 public int getBytesPerPixel() { | |
39 // TODO Auto-generated method stub | |
40 return 0; | |
41 } | |
42 | |
43 @Override | |
44 public void drawBytes(byte[] bytes, int x, int y, int width, int height) { | |
45 // TODO Auto-generated method stub | |
46 | |
47 } | |
48 | |
49 @Override | |
50 public int getPixelColor(byte[] buffer, int i) { | |
51 // TODO Auto-generated method stub | |
52 return 0; | |
53 } | |
54 | |
55 @Override | |
56 public void createCursor(int[] cursorPixels, FramebufferUpdateRectangle rect) { | |
57 // TODO Auto-generated method stub | |
58 | |
59 } | |
60 | |
61 @Override | |
62 public void fillRect(int color, FramebufferUpdateRectangle rect) { | |
63 // TODO Auto-generated method stub | |
64 | |
65 } | |
66 | |
67 @Override | |
68 public int getBytesPerPixelSignificant() { | |
69 // TODO Auto-generated method stub | |
70 return 0; | |
71 } | |
72 | |
73 @Override | |
74 public int readTightPixelColor(Reader reader) { | |
75 // TODO Auto-generated method stub | |
76 return 0; | |
77 } | |
78 | |
79 @Override | |
80 public int drawTightBytes(byte[] buffer, int i, int x, int y, int width, | |
81 int height) { | |
82 return 0; | |
83 } | |
84 | |
85 @Override | |
86 public void drawBytesWithPalette(byte[] buffer, | |
87 FramebufferUpdateRectangle rect, int[] palette) { | |
88 // TODO Auto-generated method stub | |
89 | |
90 } | |
91 | |
92 @Override | |
93 public ColorDecoder getColorDecoder() { | |
94 // TODO Auto-generated method stub | |
95 return null; | |
96 } | |
97 | |
98 @Override | |
99 public void drawUncaliberedRGBLine(byte[] thisRow, int x, int i, int width) { | |
100 // TODO Auto-generated method stub | |
101 | |
102 } | |
103 | |
104 @Override | |
105 public int getCompactPixelColor(byte[] bytes, int index) { | |
106 // TODO Auto-generated method stub | |
107 return 0; | |
108 } | |
109 | |
110 @Override | |
111 public void fillColorBitmapWithColor(int[] decodedBitmap, | |
112 int decodedOffset, int rlength, int color) { | |
113 // TODO Auto-generated method stub | |
114 | |
115 } | |
116 | |
117 @Override | |
118 public void drawColoredBitmap(int[] decodedBitmap, int tileX, int tileY, | |
119 int tileWidth, int tileHeight) { | |
120 // TODO Auto-generated method stub | |
121 | |
122 } | |
123 | |
124 @Override | |
125 public int drawCompactBytes(byte[] bytes, int offset, int tileX, int tileY, | |
126 int tileWidth, int tileHeight) { | |
127 // TODO Auto-generated method stub | |
128 return 0; | |
129 } | |
130 | |
131 @Override | |
132 public void decodeCursorPosition(FramebufferUpdateRectangle rect) { | |
133 // TODO Auto-generated method stub | |
134 | |
135 } | |
136 | |
26
73b13bc335c2
add ZRLEESender.java, NullRenderer.java and NullRepaintController.java
one
parents:
diff
changeset
|
137 } |