diff options
author | Constantin Kaplinsky <const@tightvnc.com> | 2008-06-14 05:23:10 +0000 |
---|---|---|
committer | Constantin Kaplinsky <const@tightvnc.com> | 2008-06-14 05:23:10 +0000 |
commit | 9d1fc6cddf1bc34920d4df7cd6d396f1cb2f7fe4 (patch) | |
tree | b1b0b7e470deb354d2248188e8067362e905b158 /common/rfb/VNCServerST.h | |
parent | 6970b2d8b61a78a9d9b7549269096b8f025a8b44 (diff) | |
download | tigervnc-9d1fc6cddf1bc34920d4df7cd6d396f1cb2f7fe4.tar.gz tigervnc-9d1fc6cddf1bc34920d4df7cd6d396f1cb2f7fe4.zip |
Handling VideoRectangleSelection protocol message (TightVNC extension).
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2585 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'common/rfb/VNCServerST.h')
-rw-r--r-- | common/rfb/VNCServerST.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/common/rfb/VNCServerST.h b/common/rfb/VNCServerST.h index 213f6b1f..5277f550 100644 --- a/common/rfb/VNCServerST.h +++ b/common/rfb/VNCServerST.h @@ -202,6 +202,9 @@ namespace rfb { void enableVideoSelection(bool enable) { m_videoSelectionEnabled = enable; } bool isVideoSelectionEnabled() { return m_videoSelectionEnabled; } + void setVideoRectangle(const Rect& r); + void unsetVideoRectangle(); + protected: friend class VNCSConnectionST; @@ -252,6 +255,7 @@ namespace rfb { bool disableclients; bool m_videoSelectionEnabled; + Rect m_videoRect; }; }; |