Remove a few #include <FL/x.H> from public FLTK headers.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11347 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Manolo Gouy 2016-03-11 09:28:56 +00:00
parent 408d0672a4
commit 28f24b1b6f
9 changed files with 13 additions and 5 deletions

View File

@ -20,7 +20,6 @@
#define FL_SCREEN_DRIVER_H
#include <FL/Fl_Device.H>
#include <FL/x.H>
#include <FL/Fl.H>
// TODO: add text composition?

View File

@ -24,13 +24,15 @@
#ifndef FL_WINDOW_DRIVER_H
#define FL_WINDOW_DRIVER_H
#include <FL/x.H>
#include <FL/Fl_Export.H>
#include <stdlib.h>
class Fl_Window;
class Fl_X;
class Fl_Image;
class Fl_Shared_Image;
class Fl_RGB_Image;
/**
\brief A base class for platform specific window handling code.

View File

@ -22,6 +22,7 @@
// equivalent (but totally different) crap for MSWindows is in Fl_win32.cxx
#include <config.h>
#include <FL/Fl.H>
#include <FL/x.H>
#include <FL/Fl_Window_Driver.H>
#include <FL/Fl_RGB_Image.H>
#include <FL/Fl_Window.H>

View File

@ -16,6 +16,7 @@
// http://www.fltk.org/str.php
//
#include <FL/x.H>
#include <FL/Fl_Window_Driver.H>
extern char fl_show_iconic; // in Fl_x.cxx

View File

@ -26,7 +26,7 @@
#define FL_COCOA_SCREEN_DRIVER_H
#include <FL/Fl_Screen_Driver.H>
#include <FL/x.H> // for XRectangle
/*
Move everything here that manages the native screen interface.

View File

@ -18,7 +18,7 @@
#include "../../config_lib.h"
#include "Fl_Cocoa_Screen_Driver.h"
#include "Fl_Cocoa_Screen_Driver.H"
#include <FL/Fl.H>
#include <FL/x.H>
#include <FL/Fl_Graphics_Driver.H>

View File

@ -26,7 +26,7 @@
#define FL_WINAPI_SCREEN_DRIVER_H
#include <FL/Fl_Screen_Driver.H>
#include <windows.h>
class Fl_Window;

View File

@ -19,6 +19,10 @@
#include "../../config_lib.h"
#include <FL/Fl.H>
#include <FL/Fl_Image.H>
#include <FL/Fl_Bitmap.H>
#include <FL/Fl_Window.H>
#include <FL/x.H>
#include "Fl_WinAPI_Window_Driver.H"
#include <windows.h>

View File

@ -26,6 +26,7 @@
#define FL_X11_WINDOW_DRIVER_H
#include <FL/Fl_Window_Driver.H>
class Fl_Bitmap;
/*
Move everything here that manages the native window interface.