summaryrefslogtreecommitdiffstats
path: root/win/vncviewer/DesktopWindow.h
diff options
context:
space:
mode:
authorgeorge82 <george82@3789f03b-4d11-0410-bbf8-ca57d06f2519>2006-09-11 11:40:12 +0000
committergeorge82 <george82@3789f03b-4d11-0410-bbf8-ca57d06f2519>2006-09-11 11:40:12 +0000
commit74ea5f3cd7a1bb6b2e3d865def15ebf44416cbc8 (patch)
tree9802b15bf884708740e9253b947c09de10ccc040 /win/vncviewer/DesktopWindow.h
parentced9db1e38360e321007dd837fbb37d1d79d97d9 (diff)
downloadtigervnc-74ea5f3cd7a1bb6b2e3d865def15ebf44416cbc8.tar.gz
tigervnc-74ea5f3cd7a1bb6b2e3d865def15ebf44416cbc8.zip
Now status of ZOOM IN, ZOOM OUT, ACTUAL SIZE, AUTO SIZE
toolbar buttons depend on scale values and scale mode (scale, auto scale). git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@662 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'win/vncviewer/DesktopWindow.h')
-rw-r--r--win/vncviewer/DesktopWindow.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/win/vncviewer/DesktopWindow.h b/win/vncviewer/DesktopWindow.h
index 8e82083e..e8f87bc6 100644
--- a/win/vncviewer/DesktopWindow.h
+++ b/win/vncviewer/DesktopWindow.h
@@ -82,10 +82,7 @@ namespace rfb {
PixelFormat getPF() const { return buffer->getPF(); }
void setSize(int w, int h);
void setColour(int i, int r, int g, int b) {buffer->setColour(i, r, g, b);}
- void setAutoScaling(bool as) {
- autoScaling = as;
- if (as) fitBufferToWindow();
- }
+ void setAutoScaling(bool as);
bool isAutoScaling() const { return autoScaling; }
void setDesktopScale(int scale);
int getDesktopScale() const { return buffer->getScale(); }
@@ -102,6 +99,7 @@ namespace rfb {
// - Set/get the toolbar's state
void setShowToolbar(bool st);
bool isToolbarEnabled() { return showToolbar; }
+ void refreshToolbarButtons();
// - Set whether to disable special Windows keys & pass them straight to server
void setDisableWinKeys(bool dwk);