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_vertex.cxx | 50 +++++--------------------------------------------- 1 file changed, 5 insertions(+), 45 deletions(-) (limited to 'src/fl_vertex.cxx') diff --git a/src/fl_vertex.cxx b/src/fl_vertex.cxx index 6e7b96cd4..cc58ea3fe 100644 --- a/src/fl_vertex.cxx +++ b/src/fl_vertex.cxx @@ -22,17 +22,15 @@ simple 2D transformations. */ -// Portable drawing code for drawing arbitrary shapes with -// simple 2D transformations. See also fl_arc.cxx +// Portable code for drawing arbitrary shapes with simple 2D transformations. +// See also fl_arc.cxx // matt: the Quartz implementation purposely doesn't use the Quartz matrix // operations for reasons of compatibility and maintainability -#if defined(WIN32) || defined(__APPLE__) -#elif defined(FL_PORTING) -# pragma message "FL_PORTING: implement functions below for vector drawing" -#else -#endif +// ----------------------------------------------------------------------------- +// all driver code is now in drivers/XXX/Fl_XXX_Graphics_Driver_xyz.cxx +// ----------------------------------------------------------------------------- #include #include "config_lib.h" @@ -144,44 +142,6 @@ void Fl_Graphics_Driver::fixloop() { // remove equal points from closed path while (n>2 && p[n-1].x == p[0].x && p[n-1].y == p[0].y) n--; } - -// ----------------------------------------------------------------------------- -// 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 graphics driver "drivers/Quartz/Fl_Quartz_Graphics_Driver_vertex.cxx" - - -// ----------------------------------------------------------------------------- - - -#ifdef FL_CFG_GFX_GDI - -// # include "drivers/GDI/Fl_GDI_Graphics_Driver_vertex.cxx" - -#endif - - -// ----------------------------------------------------------------------------- - - -#ifdef FL_CFG_GFX_XLIB - -// # include "drivers/Xlib/Fl_Xlib_Graphics_Driver_vertex.cxx" - -#endif - - -// ----------------------------------------------------------------------------- - -#endif // FL_LIBRARY_CMAKE - -// ----------------------------------------------------------------------------- - - // // End of "$Id$". // -- cgit v1.2.3