From 9d1fc6cddf1bc34920d4df7cd6d396f1cb2f7fe4 Mon Sep 17 00:00:00 2001 From: Constantin Kaplinsky Date: Sat, 14 Jun 2008 05:23:10 +0000 Subject: Handling VideoRectangleSelection protocol message (TightVNC extension). git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2585 3789f03b-4d11-0410-bbf8-ca57d06f2519 --- common/rfb/VNCServerST.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'common/rfb/VNCServerST.h') 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; }; }; -- cgit v1.2.3