diff options
| author | Manolo Gouy <Manolo> | 2016-03-25 13:08:48 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2016-03-25 13:08:48 +0000 |
| commit | a69133d3177f025d9810bdf9305147f80bbb270e (patch) | |
| tree | c0513df6f46a47acb80860a0a03055ab376e3e98 /src/Fl_x.cxx | |
| parent | 2530120d7d084f1ffbb9331e925153a3bcb15b92 (diff) | |
Separating platform-dependent from platform-independent code: make src/Fl.cxx cross-platform.
File src/Fl_win32.cxx is now compiled instead of included in Fl.cxx.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11420 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_x.cxx')
| -rw-r--r-- | src/Fl_x.cxx | 24 |
1 files changed, 4 insertions, 20 deletions
diff --git a/src/Fl_x.cxx b/src/Fl_x.cxx index 068588471..aa8dc4b33 100644 --- a/src/Fl_x.cxx +++ b/src/Fl_x.cxx @@ -16,25 +16,7 @@ // http://www.fltk.org/str.php // -#include <config.h> - -// make this available on all platforms to make code maintainability easier -class Fl_Widget *fl_selection_requestor; - -#ifdef WIN32 -//# include "Fl_win32.cxx" -#elif defined(__APPLE__) // PORTME: Fl_System_Driver - platform window driver - // PORTME: Fl_Screen_Driver - // PORTME: Fl_Window_Driver -//# include "Fl_mac.cxx" // now Fl_cocoa.mm -#elif defined(USE_SDL) -# pragma message "FL_SDL: implement the FLTK core in its own file" -#elif defined(ANDROID) -# pragma message "ANDROID: implement the FLTK core in its own file" -#elif defined(FL_PORTING) -# pragma message "FL_PORTING: implement the FLTK core in its own file" -# include "Fl_porting.cxx" -#elif !defined(FL_DOXYGEN) +#if !defined(FL_DOXYGEN) # define CONSOLIDATE_MOTION 1 /**** Define this if your keyboard lacks a backspace key... ****/ @@ -89,6 +71,8 @@ static bool have_xfixes = false; # include <X11/extensions/Xrender.h> # endif +extern Fl_Widget *fl_selection_requestor; + //////////////////////////////////////////////////////////////// // interface to poll/select call: @@ -2986,7 +2970,7 @@ static int unused = prepare_print_button(); #endif // USE_PRINT_BUTTON -#endif +#endif // !defined(FL_DOXYGEN) // // End of "$Id$". |
