Implemented scaling interface of the local copy of remote
desktop. Now it support only true color the pixel data.
AutoScaling is not working yet.

git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@601 3789f03b-4d11-0410-bbf8-ca57d06f2519
diff --git a/win/vncviewer/DesktopWindow.cxx b/win/vncviewer/DesktopWindow.cxx
index fce795b..5500025 100644
--- a/win/vncviewer/DesktopWindow.cxx
+++ b/win/vncviewer/DesktopWindow.cxx
@@ -929,6 +929,12 @@
   calculateScrollBars();
 }
 
+void DesktopWindow::setDesktopScale(int scale) {
+  buffer->setScale(scale);
+  InvalidateRect(frameHandle, 0, FALSE);
+  calculateScrollBars();
+}
+
 void
 DesktopWindow::setCursor(int w, int h, const Point& hotspot, void* data, void* mask) {
   hideLocalCursor();