From 95a9edcb55513a6e4fd13893b16d225a837c499b Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Thu, 3 Nov 2016 16:34:13 +0000 Subject: Factorize repeated code across platform-specific graphics drivers and image types git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@12077 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- FL/Fl_Graphics_Driver.H | 2 ++ 1 file changed, 2 insertions(+) (limited to 'FL') diff --git a/FL/Fl_Graphics_Driver.H b/FL/Fl_Graphics_Driver.H index 3530d4423..02aab1a9a 100644 --- a/FL/Fl_Graphics_Driver.H +++ b/FL/Fl_Graphics_Driver.H @@ -135,6 +135,8 @@ protected: virtual Fl_Bitmask create_bitmask(int w, int h, const uchar *array) {return 0; } /** Support function for image drawing */ virtual void delete_bitmask(Fl_Bitmask bm) {} + int start_image(int XP, int YP, int WP, int HP, int w, int h, int &cx, int &cy, + int &X, int &Y, int &W, int &H); // accessor functions to protected image members static fl_uintptr_t* id(Fl_RGB_Image *rgb) {return &(rgb->id_);} static fl_uintptr_t* id(Fl_Pixmap *pm) {return &(pm->id_);} -- cgit v1.2.3