From a9c986752e4864835e01c866b286f7bf2956d7ef Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Fri, 4 Mar 2016 17:47:29 +0000 Subject: Complete driver-based implementation of Fl_Image_Surface. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11283 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_Copy_Surface.cxx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/Fl_Copy_Surface.cxx') diff --git a/src/Fl_Copy_Surface.cxx b/src/Fl_Copy_Surface.cxx index 87b294585..475ee902e 100644 --- a/src/Fl_Copy_Surface.cxx +++ b/src/Fl_Copy_Surface.cxx @@ -19,13 +19,14 @@ #include "config_lib.h" #include -#if !defined(FL_DOXYGEN) -#ifdef __APPLE__ +#ifdef FL_CFG_GFX_QUARTZ #include -#elif defined(WIN32) +#elif defined(FL_CFG_GFX_GDI) #include +#elif defined(USE_SDL) + #elif defined(FL_PORTING) # pragma message "FL_PORTING: implement class Fl_Copy_Surface::Helper for your platform" @@ -44,11 +45,10 @@ private: int printable_rect(int *w, int *h) {*w = width; *h = height; return 0;} }; -#else +#elif defined(FL_CFG_GFX_XLIB) #include #endif -#endif // !FL_DOXYGEN /** the constructor */ Fl_Copy_Surface::Fl_Copy_Surface(int w, int h) : Fl_Widget_Surface(NULL) { -- cgit v1.2.3