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
This commit is contained in:
parent
2fd4dde9f5
commit
c456dd4eb7
@ -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>
|
||||
|
||||
|
@ -18,7 +18,6 @@
|
||||
//
|
||||
|
||||
|
||||
#include <config.h>
|
||||
#include <FL/Fl_Window_Driver.H>
|
||||
#include <FL/Fl_Overlay_Window.H>
|
||||
#include <FL/fl_draw.H>
|
||||
|
@ -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>
|
||||
|
||||
|
@ -16,7 +16,6 @@
|
||||
// http://www.fltk.org/str.php
|
||||
//
|
||||
|
||||
#include <config.h>
|
||||
#include <FL/Fl.H>
|
||||
#include <FL/Fl_Screen_Driver.H>
|
||||
|
||||
|
@ -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>
|
||||
|
||||
|
@ -17,7 +17,6 @@
|
||||
//
|
||||
|
||||
|
||||
#include <config.h>
|
||||
#include "../../config_lib.h"
|
||||
#include "Fl_GDI_Graphics_Driver.H"
|
||||
#include <FL/Fl.H>
|
||||
|
@ -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
|
||||
|
@ -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.
|
||||
//
|
||||
|
@ -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();
|
||||
}
|
||||
|
||||
|
||||
|
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user