summaryrefslogtreecommitdiff
path: root/src/drivers/GDI/Fl_GDI_Graphics_Driver.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/GDI/Fl_GDI_Graphics_Driver.h')
-rw-r--r--src/drivers/GDI/Fl_GDI_Graphics_Driver.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/drivers/GDI/Fl_GDI_Graphics_Driver.h b/src/drivers/GDI/Fl_GDI_Graphics_Driver.h
index 2dbdbe430..722c7410a 100644
--- a/src/drivers/GDI/Fl_GDI_Graphics_Driver.h
+++ b/src/drivers/GDI/Fl_GDI_Graphics_Driver.h
@@ -35,6 +35,7 @@
*/
class FL_EXPORT Fl_GDI_Graphics_Driver : public Fl_Graphics_Driver {
protected:
+ HDC gc;
int numcount;
int counts[20];
public:
@@ -42,6 +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) {gc = (HDC)ctxt;}
+ virtual void *get_gc() {return gc;}
// --- bitmap stuff
Fl_Bitmask create_bitmask(int w, int h, const uchar *array);