Added implementation of the ZOOM IN and ZOOM OUT vncviewer
toolbar buttons.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@660 3789f03b-4d11-0410-bbf8-ca57d06f2519
diff --git a/win/vncviewer/DesktopWindow.h b/win/vncviewer/DesktopWindow.h
index c24b0ce..8e82083 100644
--- a/win/vncviewer/DesktopWindow.h
+++ b/win/vncviewer/DesktopWindow.h
@@ -88,6 +88,7 @@
}
bool isAutoScaling() const { return autoScaling; }
void setDesktopScale(int scale);
+ int getDesktopScale() const { return buffer->getScale(); }
void fitBufferToWindow(bool repaint = true);
// - Set the cursor to render when the pointer is within the desktop buffer