summaryrefslogtreecommitdiff
path: root/src/drivers/GDI/Fl_GDI_Graphics_Driver.h
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2016-02-19 12:40:24 +0000
committerManolo Gouy <Manolo>2016-02-19 12:40:24 +0000
commit1b5e231c902ab198c577989db44946797ebd4893 (patch)
tree211751e0eceda308df4e51d94511362f5e0b55f6 /src/drivers/GDI/Fl_GDI_Graphics_Driver.h
parent6d766cc6814a9e7a04c0b147c7a3cbdc0817dfd4 (diff)
Rename Fl_Graphics_Driver::set_gc(void*) to gc(void*) and Fl_Graphics_Driver::get_gc() to gc().
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11191 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.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/drivers/GDI/Fl_GDI_Graphics_Driver.h b/src/drivers/GDI/Fl_GDI_Graphics_Driver.h
index 6fd93dbfc..1af1f348a 100644
--- a/src/drivers/GDI/Fl_GDI_Graphics_Driver.h
+++ b/src/drivers/GDI/Fl_GDI_Graphics_Driver.h
@@ -35,7 +35,7 @@
*/
class FL_EXPORT Fl_GDI_Graphics_Driver : public Fl_Graphics_Driver {
protected:
- HDC gc;
+ HDC gc_;
int numcount;
int counts[20];
public:
@@ -43,8 +43,8 @@ public:
const char *class_name() {return class_id;};
virtual int has_feature(driver_feature mask) { return mask & NATIVE; }
char can_do_alpha_blending();
- virtual void set_gc(void *ctxt) {if (ctxt != gc) global_gc(); gc = (HDC)ctxt;}
- virtual void *get_gc() {return gc;}
+ virtual void gc(void *ctxt) {if (ctxt != gc_) global_gc(); gc_ = (HDC)ctxt;}
+ virtual void *gc() {return gc_;}
// --- bitmap stuff
Fl_Bitmask create_bitmask(int w, int h, const uchar *array);