diff options
| author | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2022-03-21 15:56:50 +0100 |
|---|---|---|
| committer | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2022-03-21 15:56:50 +0100 |
| commit | d87b62ea6924c80127ce82b01ad91ea80ace5d73 (patch) | |
| tree | 61e56c8484ffeaa8965f256fa59fa41565665b78 /src/drivers/GDI/Fl_GDI_Graphics_Driver.H | |
| parent | bf5b902180f0e5654f5802cf9ef588ecf57d20c6 (diff) | |
Avoid using same name (p) for distinct members of derived classes.
Diffstat (limited to 'src/drivers/GDI/Fl_GDI_Graphics_Driver.H')
| -rw-r--r-- | src/drivers/GDI/Fl_GDI_Graphics_Driver.H | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/drivers/GDI/Fl_GDI_Graphics_Driver.H b/src/drivers/GDI/Fl_GDI_Graphics_Driver.H index 59c111a39..0749ab798 100644 --- a/src/drivers/GDI/Fl_GDI_Graphics_Driver.H +++ b/src/drivers/GDI/Fl_GDI_Graphics_Driver.H @@ -2,7 +2,7 @@ // Definition of classes Fl_Graphics_Driver, Fl_Surface_Device, Fl_Display_Device // for the Fast Light Tool Kit (FLTK). // -// Copyright 2010-2021 by Bill Spitzak and others. +// Copyright 2010-2022 by Bill Spitzak and others. // // This library is free software. Distribution and use rights are outlined in // the file "COPYING" which should have been included with this file. If this @@ -59,10 +59,10 @@ protected: int counts[20]; uchar *mask_bitmap_; uchar **mask_bitmap() {return &mask_bitmap_;} - POINT *p; + POINT *long_point; public: - Fl_GDI_Graphics_Driver() {mask_bitmap_ = NULL; gc_ = NULL; p = NULL; depth = -1; origins = NULL;} - virtual ~Fl_GDI_Graphics_Driver() { if (p) free(p); delete[] origins;} + Fl_GDI_Graphics_Driver(); + virtual ~Fl_GDI_Graphics_Driver(); virtual int has_feature(driver_feature mask) { return mask & NATIVE; } char can_do_alpha_blending(); virtual void gc(void *ctxt) { gc_ = (HDC)ctxt; global_gc(); } |
