diff options
| author | Albrecht Schlosser <albrechts.fltk@online.de> | 2016-01-31 01:14:50 +0000 |
|---|---|---|
| committer | Albrecht Schlosser <albrechts.fltk@online.de> | 2016-01-31 01:14:50 +0000 |
| commit | 642187dc1c99cc041f181438473cda8894564c8b (patch) | |
| tree | 83fd0a096ccf4319b09bfa86eeba945fa908b681 /src/fl_vertex.cxx | |
| parent | 5c32d3b24ceec2005c38ec7e3335fead43b26d1d (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_vertex.cxx')
| -rw-r--r-- | src/fl_vertex.cxx | 50 |
1 files changed, 5 insertions, 45 deletions
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 <config.h> #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$". // |
