diff options
| author | Manolo Gouy <Manolo> | 2016-04-12 13:47:38 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2016-04-12 13:47:38 +0000 |
| commit | fce1483eb82be85c1b95abfd1d9a486556bce0e3 (patch) | |
| tree | 1630d3b1369d37c6c105eb44b2067e1122557f5f /src/drivers/GDI | |
| parent | 3d4ce29bd914b345e8b8675f0ed526cc4d8f5033 (diff) | |
Rewrite fl_draw_pixmap.cxx under the driver model.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11587 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/drivers/GDI')
| -rw-r--r-- | src/drivers/GDI/Fl_GDI_Graphics_Driver_image.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/drivers/GDI/Fl_GDI_Graphics_Driver_image.cxx b/src/drivers/GDI/Fl_GDI_Graphics_Driver_image.cxx index 20405ea5d..66f51456c 100644 --- a/src/drivers/GDI/Fl_GDI_Graphics_Driver_image.cxx +++ b/src/drivers/GDI/Fl_GDI_Graphics_Driver_image.cxx @@ -37,6 +37,7 @@ #include <config.h> #include "Fl_GDI_Graphics_Driver.H" +#include "../WinAPI/Fl_WinAPI_System_Driver.H" #include <FL/Fl.H> #include <FL/Fl_Printer.H> #include <FL/fl_draw.H> @@ -635,8 +636,7 @@ fl_uintptr_t Fl_GDI_Graphics_Driver::cache(Fl_Pixmap *img, int w, int h, const c uchar *bitmap = 0; Fl_Surface_Device::surface()->driver()->mask_bitmap(&bitmap); fl_draw_pixmap(data, 0, 0, FL_BLACK); - extern UINT win_pixmap_bg_color; // computed by fl_draw_pixmap() - img->pixmap_bg_color = win_pixmap_bg_color; + img->pixmap_bg_color = Fl_WinAPI_System_Driver::win_pixmap_bg_color; // computed by fl_draw_pixmap() Fl_Surface_Device::surface()->driver()->mask_bitmap(0); if (bitmap) { img->mask_ = (fl_uintptr_t)fl_create_bitmask(w, h, bitmap); |
