diff options
| author | Manolo Gouy <Manolo> | 2016-03-27 17:37:07 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2016-03-27 17:37:07 +0000 |
| commit | c456dd4eb7a2325bf75b5185c2645b2552d99516 (patch) | |
| tree | a5120eeaac6ff93c50f2f05cb87ef7d2195f06a1 | |
| parent | 2fd4dde9f5d682898b7fc387bb364fff2febf8fb (diff) | |
Remove a bunch of unnecessary #include <config.h> directives
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11443 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
| -rw-r--r-- | src/Fl_BMP_Image.cxx | 1 | ||||
| -rw-r--r-- | src/Fl_Window_Driver.cxx | 1 | ||||
| -rw-r--r-- | src/Fl_get_key_mac.cxx | 1 | ||||
| -rw-r--r-- | src/Fl_grab.cxx | 1 | ||||
| -rw-r--r-- | src/Fl_visual.cxx | 1 | ||||
| -rw-r--r-- | src/drivers/GDI/Fl_GDI_Graphics_Driver.cxx | 1 | ||||
| -rw-r--r-- | src/fl_color.cxx | 2 | ||||
| -rw-r--r-- | src/fl_read_image_mac.cxx | 4 | ||||
| -rw-r--r-- | src/fl_rect.cxx | 9 | ||||
| -rw-r--r-- | src/fl_vertex.cxx | 4 |
10 files changed, 4 insertions, 21 deletions
diff --git a/src/Fl_BMP_Image.cxx b/src/Fl_BMP_Image.cxx index bcbac4ebb..234d6b2ce 100644 --- a/src/Fl_BMP_Image.cxx +++ b/src/Fl_BMP_Image.cxx @@ -28,7 +28,6 @@ #include <FL/Fl_BMP_Image.H> #include <FL/fl_utf8.h> #include <FL/Fl.H> -#include <config.h> #include <stdio.h> #include <stdlib.h> diff --git a/src/Fl_Window_Driver.cxx b/src/Fl_Window_Driver.cxx index acb00712c..012eb9a93 100644 --- a/src/Fl_Window_Driver.cxx +++ b/src/Fl_Window_Driver.cxx @@ -18,7 +18,6 @@ // -#include <config.h> #include <FL/Fl_Window_Driver.H> #include <FL/Fl_Overlay_Window.H> #include <FL/fl_draw.H> diff --git a/src/Fl_get_key_mac.cxx b/src/Fl_get_key_mac.cxx index 52d99e222..358678015 100644 --- a/src/Fl_get_key_mac.cxx +++ b/src/Fl_get_key_mac.cxx @@ -20,7 +20,6 @@ // which are actually X keysyms. So this has to translate to macOS // symbols. -#include <config.h> #include <FL/Fl.H> #include <FL/x.H> diff --git a/src/Fl_grab.cxx b/src/Fl_grab.cxx index f014c14d7..5a33e4b7c 100644 --- a/src/Fl_grab.cxx +++ b/src/Fl_grab.cxx @@ -16,7 +16,6 @@ // http://www.fltk.org/str.php // -#include <config.h> #include <FL/Fl.H> #include <FL/Fl_Screen_Driver.H> diff --git a/src/Fl_visual.cxx b/src/Fl_visual.cxx index e3c08806e..eaa0f776b 100644 --- a/src/Fl_visual.cxx +++ b/src/Fl_visual.cxx @@ -18,7 +18,6 @@ // Set the default visual according to passed switches: -#include <config.h> #include <FL/Fl.H> #include <FL/Fl_Screen_Driver.H> diff --git a/src/drivers/GDI/Fl_GDI_Graphics_Driver.cxx b/src/drivers/GDI/Fl_GDI_Graphics_Driver.cxx index 4af0b129f..54740fc10 100644 --- a/src/drivers/GDI/Fl_GDI_Graphics_Driver.cxx +++ b/src/drivers/GDI/Fl_GDI_Graphics_Driver.cxx @@ -17,7 +17,6 @@ // -#include <config.h> #include "../../config_lib.h" #include "Fl_GDI_Graphics_Driver.H" #include <FL/Fl.H> diff --git a/src/fl_color.cxx b/src/fl_color.cxx index 4fa08dd08..c3021e7ea 100644 --- a/src/fl_color.cxx +++ b/src/fl_color.cxx @@ -26,8 +26,6 @@ #include <FL/Fl.H> #include <FL/Fl_Device.H> #include <FL/Fl.H> -#include <config.h> -#include "config_lib.h" // fl_cmap needs to be defined globally (here) and is used in the device // specific graphics drivers diff --git a/src/fl_read_image_mac.cxx b/src/fl_read_image_mac.cxx index 3d84c80a2..36f2ad017 100644 --- a/src/fl_read_image_mac.cxx +++ b/src/fl_read_image_mac.cxx @@ -1,7 +1,7 @@ // // "$Id$" // -// WIN32 image reading routines for the Fast Light Tool Kit (FLTK). +// Mac OS image reading routines for the Fast Light Tool Kit (FLTK). // // Copyright 1998-2016 by Bill Spitzak and others. // @@ -16,8 +16,6 @@ // http://www.fltk.org/str.php // -#include <config.h> - // // 'fl_read_image()' - Read an image from the current window or off-screen buffer. // diff --git a/src/fl_rect.cxx b/src/fl_rect.cxx index d8709d8e0..af096d390 100644 --- a/src/fl_rect.cxx +++ b/src/fl_rect.cxx @@ -26,13 +26,8 @@ // Also all fl_clip routines, since they are always linked in so // that minimal update works. -#include <config.h> -#include "config_lib.h" -#include <FL/Fl.H> #include <FL/x.H> -#include <FL/Fl_Widget.H> -#include <FL/Fl_Printer.H> -#include <FL/fl_draw.H> +#include <FL/Fl_Graphics_Driver.H> // ----------------------------------------------------------------------------- // all driver code is now in drivers/XXX/Fl_XXX_Graphics_Driver_xyz.cxx @@ -53,7 +48,7 @@ void Fl_Graphics_Driver::clip_region(Fl_Region r) { Fl_Region oldr = rstack[rstackptr]; if (oldr) XDestroyRegion(oldr); rstack[rstackptr] = r; - fl_restore_clip(); + restore_clip(); } diff --git a/src/fl_vertex.cxx b/src/fl_vertex.cxx index 1a425895c..e108d2163 100644 --- a/src/fl_vertex.cxx +++ b/src/fl_vertex.cxx @@ -32,9 +32,7 @@ // all driver code is now in drivers/XXX/Fl_XXX_Graphics_Driver_xyz.cxx // ----------------------------------------------------------------------------- -#include <config.h> -#include "config_lib.h" -#include <FL/fl_draw.H> +#include <FL/Fl_Graphics_Driver.H> #include <FL/Fl.H> #include <FL/math.h> #include <stdlib.h> |
