aboutsummaryrefslogtreecommitdiffstats
path: root/vncviewer/DesktopWindow.h
diff options
context:
space:
mode:
authorgeorge82 <george82@3789f03b-4d11-0410-bbf8-ca57d06f2519>2006-05-23 15:39:47 +0000
committergeorge82 <george82@3789f03b-4d11-0410-bbf8-ca57d06f2519>2006-05-23 15:39:47 +0000
commitbd494149af3286c40976635c77c551068fea7e6c (patch)
tree87593cb301a9fc739b2509ae26eed71b6766ed9a /vncviewer/DesktopWindow.h
parentb9c734930e73ef27b21b02d9e40f738ba79d08ed (diff)
downloadtigervnc-bd494149af3286c40976635c77c551068fea7e6c.tar.gz
tigervnc-bd494149af3286c40976635c77c551068fea7e6c.zip
Added the desktop image scaling support to vncviewer.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@579 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'vncviewer/DesktopWindow.h')
-rw-r--r--vncviewer/DesktopWindow.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/vncviewer/DesktopWindow.h b/vncviewer/DesktopWindow.h
index d54cd5f7..3d2211f8 100644
--- a/vncviewer/DesktopWindow.h
+++ b/vncviewer/DesktopWindow.h
@@ -34,7 +34,7 @@
#include <rfb_win32/CKeyboard.h>
#include <rfb_win32/CPointer.h>
#include <rfb_win32/Clipboard.h>
-#include <rfb_win32/DIBSectionBuffer.h>
+#include <rfb_win32/ScaledDIBSectionBuffer.h>
#include <rfb_win32/LogicalPalette.h>
#include <vncviewer/ViewerToolBar.h>
@@ -195,7 +195,7 @@ namespace rfb {
void cursorOutsideBuffer();
// Returns true if part of the supplied rect is visible, false otherwise
- bool invalidateDesktopRect(const Rect& crect);
+ bool invalidateDesktopRect(const Rect& crect, bool scaling=true);
// Determine whether or not we need to enable/disable scrollbars and set the
// window style accordingly
@@ -232,7 +232,7 @@ namespace rfb {
bool showToolbar;
// Local window state
- win32::DIBSectionBuffer* buffer;
+ win32::ScaledDIBSectionBuffer* buffer;
bool has_focus;
Rect window_size;
Rect client_size;