diff options
Diffstat (limited to 'vncviewer/PlatformPixelBuffer.h')
-rw-r--r-- | vncviewer/PlatformPixelBuffer.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/vncviewer/PlatformPixelBuffer.h b/vncviewer/PlatformPixelBuffer.h index 03842ac8..21b93be4 100644 --- a/vncviewer/PlatformPixelBuffer.h +++ b/vncviewer/PlatformPixelBuffer.h @@ -20,14 +20,20 @@ #define __PLATFORMPIXELBUFFER_H__ #include <rfb/PixelBuffer.h> +#include <rfb/Region.h> class PlatformPixelBuffer: public rfb::FullFramePixelBuffer { public: PlatformPixelBuffer(const rfb::PixelFormat& pf, int width, int height, rdr::U8* data, int stride); + virtual void commitBufferRW(const rfb::Rect& r); + virtual void draw(int src_x, int src_y, int x, int y, int w, int h) = 0; + rfb::Rect getDamage(void); +protected: + rfb::Region damage; }; #endif |