summaryrefslogtreecommitdiffstats
path: root/win/vncviewer/DesktopWindow.h
diff options
context:
space:
mode:
Diffstat (limited to 'win/vncviewer/DesktopWindow.h')
-rw-r--r--win/vncviewer/DesktopWindow.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/win/vncviewer/DesktopWindow.h b/win/vncviewer/DesktopWindow.h
index bce7cf72..7a8fa2c3 100644
--- a/win/vncviewer/DesktopWindow.h
+++ b/win/vncviewer/DesktopWindow.h
@@ -88,8 +88,7 @@ namespace rfb {
void setColour(int i, int r, int g, int b) {buffer->setColour(i, r, g, b);}
void setAutoScaling(bool as);
bool isAutoScaling() const { return autoScaling; }
- void setDesktopScaleRatio(double scale_ratio);
- void setDesktopScale(int scale) { setDesktopScaleRatio(double(scale)/100); }
+ void setDesktopScale(int scale);
int getDesktopScale() const { return buffer->getScale(); }
void fitBufferToWindow(bool repaint = true);