summaryrefslogtreecommitdiff
path: root/src/Fl_Copy_Surface.cxx
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2016-03-04 17:47:29 +0000
committerManolo Gouy <Manolo>2016-03-04 17:47:29 +0000
commita9c986752e4864835e01c866b286f7bf2956d7ef (patch)
treefcd15bc329d859c10985ece5b886ec7e6bd38f4f /src/Fl_Copy_Surface.cxx
parent35214afddfdee40e96d7f14ee751f6ef7c741ad8 (diff)
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
Diffstat (limited to 'src/Fl_Copy_Surface.cxx')
-rw-r--r--src/Fl_Copy_Surface.cxx10
1 files changed, 5 insertions, 5 deletions
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 <FL/Fl_Copy_Surface.H>
-#if !defined(FL_DOXYGEN)
-#ifdef __APPLE__
+#ifdef FL_CFG_GFX_QUARTZ
#include <src/drivers/Quartz/Fl_Quartz_Copy_Surface.H>
-#elif defined(WIN32)
+#elif defined(FL_CFG_GFX_GDI)
#include <src/drivers/GDI/Fl_GDI_Copy_Surface.H>
+#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 <src/drivers/Xlib/Fl_Xlib_Copy_Surface.H>
#endif
-#endif // !FL_DOXYGEN
/** the constructor */
Fl_Copy_Surface::Fl_Copy_Surface(int w, int h) : Fl_Widget_Surface(NULL) {