diff options
-rw-r--r-- | win/rfb_win32/ScaledDIBSectionBuffer.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/win/rfb_win32/ScaledDIBSectionBuffer.h b/win/rfb_win32/ScaledDIBSectionBuffer.h index 69c38481..eb1d093f 100644 --- a/win/rfb_win32/ScaledDIBSectionBuffer.h +++ b/win/rfb_win32/ScaledDIBSectionBuffer.h @@ -47,6 +47,8 @@ namespace rfb { bool isScaling() const { return scaling; } virtual void setPF(const PixelFormat &pf); + virtual const PixelFormat& getPixelFormat() const { return pf; } + virtual const PixelFormat& getScaledPixelFormat() const { return getPF(); } virtual void setSize(int w, int h); virtual void setScale(int scale) { setScaleRatio(double(scale)/100.0); }; virtual void setScaleRatio(double scale_ratio); |