diff options
| author | Manolo Gouy <Manolo> | 2017-08-25 17:42:46 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2017-08-25 17:42:46 +0000 |
| commit | 86e60e906893a485952e20e04ef429082f99be80 (patch) | |
| tree | f931d219fcccb272e923efd1ecf615604851d62e /src/drivers/GDI/Fl_GDI_Graphics_Driver.H | |
| parent | 9eeac9c73777e0ffb1c7b5703d1c05fca1d703f0 (diff) | |
X11 and WIN32: slightly change Fl_XXX_Graphics_Driver::cache(Fl_Pixmap*) to use the Fl_Image_Surface object.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12399 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/drivers/GDI/Fl_GDI_Graphics_Driver.H')
| -rw-r--r-- | src/drivers/GDI/Fl_GDI_Graphics_Driver.H | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/drivers/GDI/Fl_GDI_Graphics_Driver.H b/src/drivers/GDI/Fl_GDI_Graphics_Driver.H index 82ff10739..897f66ffa 100644 --- a/src/drivers/GDI/Fl_GDI_Graphics_Driver.H +++ b/src/drivers/GDI/Fl_GDI_Graphics_Driver.H @@ -72,6 +72,7 @@ public: virtual void draw_image_mono_unscaled(const uchar* buf, int X,int Y,int W,int H, int D=1, int L=0); virtual void draw_image_mono_unscaled(Fl_Draw_Image_Cb cb, void* data, int X,int Y,int W,int H, int D=1); fl_uintptr_t cache(Fl_Pixmap *img, int w, int h, const char *const*array); + virtual void uncache_pixmap(fl_uintptr_t p); fl_uintptr_t cache(Fl_Bitmap *img, int w, int h, const uchar *array); void uncache(Fl_RGB_Image *img, fl_uintptr_t &id_, fl_uintptr_t &mask_); virtual double width_unscaled(const char *str, int n); |
