Revision: 4475
          http://tigervnc.svn.sourceforge.net/tigervnc/?rev=4475&view=rev
Author:   ossman_
Date:     2011-06-08 17:21:48 +0000 (Wed, 08 Jun 2011)

Log Message:
-----------
Bah, not enough coffee today. I had already implemented the pointer rate
control, so it can be allowed to stay for now. And there were a bunch of
references to the local cursor option.

Modified Paths:
--------------
    trunk/vncviewer/CConn.cxx
    trunk/vncviewer/OptionsDialog.cxx
    trunk/vncviewer/OptionsDialog.h
    trunk/vncviewer/parameters.cxx
    trunk/vncviewer/parameters.h

Modified: trunk/vncviewer/CConn.cxx
===================================================================
--- trunk/vncviewer/CConn.cxx   2011-06-08 17:07:46 UTC (rev 4474)
+++ trunk/vncviewer/CConn.cxx   2011-06-08 17:21:48 UTC (rev 4475)
@@ -65,7 +65,6 @@
   cp.supportsDesktopResize = true;
   cp.supportsExtendedDesktopSize = true;
   cp.supportsDesktopRename = true;
-  cp.supportsLocalCursor = useLocalCursor;
 
   cp.customCompressLevel = customCompressLevel;
   cp.compressLevel = compressLevel;
@@ -541,8 +540,6 @@
     self->cp.qualityLevel = qualityLevel;
   }
 
-  self->cp.supportsLocalCursor = useLocalCursor;
-
   self->cp.customCompressLevel = customCompressLevel;
   self->cp.compressLevel = compressLevel;
 

Modified: trunk/vncviewer/OptionsDialog.cxx
===================================================================
--- trunk/vncviewer/OptionsDialog.cxx   2011-06-08 17:07:46 UTC (rev 4474)
+++ trunk/vncviewer/OptionsDialog.cxx   2011-06-08 17:21:48 UTC (rev 4475)
@@ -273,7 +273,6 @@
   /* Misc. */
   sharedCheckbox->value(shared);
   fullScreenCheckbox->value(fullScreen);
-  localCursorCheckbox->value(useLocalCursor);
   dotCursorCheckbox->value(dotWhenNoCursor);
 }
 
@@ -366,7 +365,6 @@
   /* Misc. */
   shared.setParam(sharedCheckbox->value());
   fullScreen.setParam(fullScreenCheckbox->value());
-  useLocalCursor.setParam(localCursorCheckbox->value());
   dotWhenNoCursor.setParam(dotCursorCheckbox->value());
 
   std::map<OptionsCallback*, void*>::const_iterator iter;
@@ -725,12 +723,6 @@
                                                   _("Full-screen mode")));
   ty += CHECK_HEIGHT + TIGHT_MARGIN;
 
-  localCursorCheckbox = new Fl_Check_Button(LBLRIGHT(tx, ty,
-                                                  CHECK_MIN_WIDTH,
-                                                  CHECK_HEIGHT,
-                                                  _("Render cursor locally")));
-  ty += CHECK_HEIGHT + TIGHT_MARGIN;
-
   dotCursorCheckbox = new Fl_Check_Button(LBLRIGHT(tx, ty,
                                                   CHECK_MIN_WIDTH,
                                                   CHECK_HEIGHT,

Modified: trunk/vncviewer/OptionsDialog.h
===================================================================
--- trunk/vncviewer/OptionsDialog.h     2011-06-08 17:07:46 UTC (rev 4474)
+++ trunk/vncviewer/OptionsDialog.h     2011-06-08 17:21:48 UTC (rev 4475)
@@ -111,7 +111,6 @@
   /* Misc. */
   Fl_Check_Button *sharedCheckbox;
   Fl_Check_Button *fullScreenCheckbox;
-  Fl_Check_Button *localCursorCheckbox;
   Fl_Check_Button *dotCursorCheckbox;
 };
 

Modified: trunk/vncviewer/parameters.cxx
===================================================================
--- trunk/vncviewer/parameters.cxx      2011-06-08 17:07:46 UTC (rev 4474)
+++ trunk/vncviewer/parameters.cxx      2011-06-08 17:21:48 UTC (rev 4475)
@@ -21,6 +21,9 @@
 
 using namespace rfb;
 
+IntParameter pointerEventInterval("PointerEventInterval",
+                                  "Time in milliseconds to rate-limit"
+                                  " successive pointer events", 0);
 BoolParameter dotWhenNoCursor("DotWhenNoCursor",
                               "Show the dot cursor when the server sends an "
                               "invisible cursor", true);

Modified: trunk/vncviewer/parameters.h
===================================================================
--- trunk/vncviewer/parameters.h        2011-06-08 17:07:46 UTC (rev 4474)
+++ trunk/vncviewer/parameters.h        2011-06-08 17:21:48 UTC (rev 4475)
@@ -21,6 +21,7 @@
 
 #include <rfb/Configuration.h>
 
+extern rfb::IntParameter pointerEventInterval;
 extern rfb::BoolParameter dotWhenNoCursor;
 
 extern rfb::StringParameter passwordFile;


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
Tigervnc-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tigervnc-commits

Reply via email to