diff options
Diffstat (limited to 'client/red_gdi_canvas.h')
-rw-r--r-- | client/red_gdi_canvas.h | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/client/red_gdi_canvas.h b/client/red_gdi_canvas.h index d117282b..643f3c6c 100644 --- a/client/red_gdi_canvas.h +++ b/client/red_gdi_canvas.h @@ -27,11 +27,11 @@ class RedPixmap; class GDICanvas: public Canvas { public: - GDICanvas(PixmapCache& pixmap_cache, PaletteCache& palette_cache, + GDICanvas(int width, int height, uint32_t format, + PixmapCache& pixmap_cache, PaletteCache& palette_cache, GlzDecoderWindow &glz_decoder_window, CSurfaces &csurfaces); virtual ~GDICanvas(); - virtual void set_mode(int x, int y, int bits); virtual void thread_touch() {} virtual void copy_pixels(const QRegion& region, RedDrawable* dc, const PixmapHeader* pixmap); @@ -40,11 +40,6 @@ public: virtual CanvasType get_pixmap_type(); private: - void create_pixmap(int width, int height); - void destroy_pixmap(); - void destroy(); - -private: RedPixmapGdi *_pixmap; RedPixmapGdi *_helper_pixmap; HDC _dc; |