summaryrefslogtreecommitdiff
path: root/src/fl_rect.cxx
diff options
context:
space:
mode:
authorAlbrecht Schlosser <albrechts.fltk@online.de>2016-01-31 01:14:50 +0000
committerAlbrecht Schlosser <albrechts.fltk@online.de>2016-01-31 01:14:50 +0000
commit642187dc1c99cc041f181438473cda8894564c8b (patch)
tree83fd0a096ccf4319b09bfa86eeba945fa908b681 /src/fl_rect.cxx
parent5c32d3b24ceec2005c38ec7e3335fead43b26d1d (diff)
Finish removing of #include of driver files, remove FL_LIBRARY_CMAKE.
Now all graphics drivers are compiled as individual files depending on the platform and configuration. The preprocessor macro FL_LIBRARY_CMAKE is now obsolete and has been removed. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11093 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/fl_rect.cxx')
-rw-r--r--src/fl_rect.cxx39
1 files changed, 5 insertions, 34 deletions
diff --git a/src/fl_rect.cxx b/src/fl_rect.cxx
index b2acba9ed..3fddf9388 100644
--- a/src/fl_rect.cxx
+++ b/src/fl_rect.cxx
@@ -40,8 +40,12 @@
#else
#endif
+// -----------------------------------------------------------------------------
+// all driver code is now in drivers/XXX/Fl_XXX_Graphics_Driver_xyz.cxx
+// -----------------------------------------------------------------------------
+
// fl_line_width_ must contain the absolute value of the current
-// line width to be used for X11 clipping (see below).
+// line width to be used for X11 clipping (see driver code).
// This is defined in src/fl_line_style.cxx
extern int fl_line_width_;
@@ -64,39 +68,6 @@ Fl_Region Fl_Graphics_Driver::clip_region() {
}
-// -----------------------------------------------------------------------------
-// Remove #ifndef FL_LIBRARY_CMAKE and the entire block of #include
-// statements when the new build system is ready:
-#ifndef FL_LIBRARY_CMAKE
-// -----------------------------------------------------------------------------
-
-// Apple Quartz driver in "drivers/Quartz/Fl_Quartz_Graphics_Driver_rect.cxx"
-
-
-// -----------------------------------------------------------------------------
-
-
-#ifdef FL_CFG_GFX_GDI
-
-// # include "drivers/GDI/Fl_GDI_Graphics_Driver_rect.cxx"
-
-#endif
-
-
-// -----------------------------------------------------------------------------
-
-
-#ifdef FL_CFG_GFX_XLIB
-
-// # include "drivers/Xlib/Fl_Xlib_Graphics_Driver_rect.cxx"
-
-#endif
-
-// -----------------------------------------------------------------------------
-#endif // FL_LIBRARY_CMAKE
-// -----------------------------------------------------------------------------
-
-
//
// End of "$Id$".
//