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
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);
virtual void recreateBuffer() {
recreateScaledBuffer();
};
+
+ bool scaling;
};
};