From 642187dc1c99cc041f181438473cda8894564c8b Mon Sep 17 00:00:00 2001 From: Albrecht Schlosser Date: Sun, 31 Jan 2016 01:14:50 +0000 Subject: 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 --- src/fl_rect.cxx | 39 +++++---------------------------------- 1 file changed, 5 insertions(+), 34 deletions(-) (limited to 'src/fl_rect.cxx') 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$". // -- cgit v1.2.3