diff options
| author | Manolo Gouy <Manolo> | 2016-02-25 10:14:28 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2016-02-25 10:14:28 +0000 |
| commit | 31793cbdba8e318350c5ed11b06d5a678eb15608 (patch) | |
| tree | 6663410ff80abfa841ebf30a9a7f75bffeb730ac /src/drivers/GDI/Fl_GDI_Graphics_Driver.h | |
| parent | e24f3f79a334a501c9a239b32fe465981a8c3aab (diff) | |
Remove the global variable fl_mask_bitmap - put it in the graphics driver's virtual API.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11216 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 | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/drivers/GDI/Fl_GDI_Graphics_Driver.h b/src/drivers/GDI/Fl_GDI_Graphics_Driver.h index d49df4e90..32c17d1b9 100644 --- a/src/drivers/GDI/Fl_GDI_Graphics_Driver.h +++ b/src/drivers/GDI/Fl_GDI_Graphics_Driver.h @@ -38,7 +38,11 @@ protected: HDC gc_; int numcount; int counts[20]; + uchar **mask_bitmap_; + uchar **mask_bitmap() {return mask_bitmap_;} + void mask_bitmap(uchar **value) { mask_bitmap_ = value; } public: + Fl_GDI_Graphics_Driver() {mask_bitmap_ = NULL;} static const char *class_id; const char *class_name() {return class_id;}; virtual int has_feature(driver_feature mask) { return mask & NATIVE; } |
