diff options
author | Brian P. Hinz <bphinz@users.sf.net> | 2017-02-26 20:55:40 -0500 |
---|---|---|
committer | Brian P. Hinz <bphinz@users.sf.net> | 2017-02-27 20:16:24 -0500 |
commit | 6fd7e019e9989befdcc53335970707772b8ff3ff (patch) | |
tree | 4e0548d582b38dfa8c27cc846c725295ef6199cb /java/com/tigervnc/rfb/CMsgHandler.java | |
parent | 7cb4f31f6290df318962226bb35f60d0e2fd975c (diff) | |
download | tigervnc-6fd7e019e9989befdcc53335970707772b8ff3ff.tar.gz tigervnc-6fd7e019e9989befdcc53335970707772b8ff3ff.zip |
Java client support for cursors with full alpha
Diffstat (limited to 'java/com/tigervnc/rfb/CMsgHandler.java')
-rw-r--r-- | java/com/tigervnc/rfb/CMsgHandler.java | 27 |
1 files changed, 15 insertions, 12 deletions
diff --git a/java/com/tigervnc/rfb/CMsgHandler.java b/java/com/tigervnc/rfb/CMsgHandler.java index 99405983..2f3151b7 100644 --- a/java/com/tigervnc/rfb/CMsgHandler.java +++ b/java/com/tigervnc/rfb/CMsgHandler.java @@ -74,21 +74,24 @@ abstract public class CMsgHandler { cp.supportsContinuousUpdates = true; } - public void clientRedirect(int port, String host, - String x509subject) {} + abstract public void clientRedirect(int port, String host, + String x509subject); - public void setCursor(int width, int height, Point hotspot, - byte[] data, byte[] mask) {} - public void serverInit() {} + abstract public void setCursor(int width, int height, Point hotspot, + byte[] data); + abstract public void serverInit(); - public void framebufferUpdateStart() {} - public void framebufferUpdateEnd() {} - public void dataRect(Rect r, int encoding) {} + abstract public void readAndDecodeRect(Rect r, int encoding, + ModifiablePixelBuffer pb); - public void setColourMapEntries(int firstColour, int nColours, - int[] rgbs) { } - public void bell() {} - public void serverCutText(String str, int len) {} + public void framebufferUpdateStart() {}; + public void framebufferUpdateEnd() {}; + abstract public void dataRect(Rect r, int encoding); + + abstract public void setColourMapEntries(int firstColour, int nColours, + int[] rgbs); + abstract public void bell(); + abstract public void serverCutText(String str, int len); public ConnParams cp; |