From 41e22f2f39f6b9a53d5248669e531e6c8e36a421 Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Tue, 9 Feb 2016 18:25:02 +0000 Subject: Move ifdef's in RGB_Image into driver system. - change image caching variable types to uintptr_t - added driver function to uncache image data - cleaning up (Xlib and GDI will likely throw syntax errors. Trying to fix ASAP) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11138 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- FL/Fl_Bitmap.H | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) (limited to 'FL/Fl_Bitmap.H') diff --git a/FL/Fl_Bitmap.H b/FL/Fl_Bitmap.H index 4c8efb4d5..3bb6f23d1 100644 --- a/FL/Fl_Bitmap.H +++ b/FL/Fl_Bitmap.H @@ -21,7 +21,8 @@ #ifndef Fl_Bitmap_H #define Fl_Bitmap_H -# include "Fl_Image.H" +#include "Fl_Image.H" +#include "Fl_Widget.H" // for fl_uintptr_t class Fl_Widget; struct Fl_Menu_Item; @@ -45,16 +46,8 @@ public: private: int start(int XP, int YP, int WP, int HP, int &cx, int &cy, int &X, int &Y, int &W, int &H); -#if defined(__APPLE__) || defined(WIN32) /** for internal use */ - void *id_; -#elif defined(FL_PORTING) -# pragma message "FL_PORTING: define variables to hold a native bitmap in Fl_Bitmap" - unsigned id_; // default if not ported -#else - /** for internal use */ - unsigned id_; -#endif // __APPLE__ || WIN32 + fl_uintptr_t id_; public: -- cgit v1.2.3