Added the new property scaling to the rfb::ScaledPixelBuffer class.
Added the new method isScaling() to the rfb::ScaledPixelBuffer class.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@515 3789f03b-4d11-0410-bbf8-ca57d06f2519
diff --git a/rfb_win32/ScaledDIBSectionBuffer.h b/rfb_win32/ScaledDIBSectionBuffer.h
index c256e8f..c0dd586 100644
--- a/rfb_win32/ScaledDIBSectionBuffer.h
+++ b/rfb_win32/ScaledDIBSectionBuffer.h
@@ -43,6 +43,7 @@
int width() const { return scaled_width; }
int height() const { return scaled_height; }
+ bool isScaling() const { return scaling; }
virtual void setSrcPixelBuffer(U8 **src_data, int w, int h, PixelFormat pf=PixelFormat());
virtual void setPF(const PixelFormat &pf);
@@ -53,6 +54,8 @@
virtual void recreateBuffer() {
recreateScaledBuffer();
};
+
+ bool scaling;
};
};