From 936e471e353bdfa8ce308f599ddc075fa93459d1 Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Sun, 1 Jun 2003 00:31:32 +0000 Subject: Add symlink for installs on OSX so that the wrong include file is not used (OSX compiler bug) Add dummy fl_open_callback() functions on X11 and WIN32. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3021 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- FL/win32.H | 7 +++++-- FL/x.H | 7 +++++-- fltk.list.in | 5 +++-- 3 files changed, 13 insertions(+), 6 deletions(-) diff --git a/FL/win32.H b/FL/win32.H index 7eef22ac3..993404c61 100644 --- a/FL/win32.H +++ b/FL/win32.H @@ -1,5 +1,5 @@ // -// "$Id: win32.H,v 1.15.2.3.2.10 2003/01/30 21:40:55 easysw Exp $" +// "$Id: win32.H,v 1.15.2.3.2.11 2003/06/01 00:31:31 easysw Exp $" // // WIN32 header file for the Fast Light Tool Kit (FLTK). // @@ -132,8 +132,11 @@ extern FL_EXPORT Fl_Bitmask fl_create_bitmask(int w, int h, const uchar *data); extern FL_EXPORT Fl_Bitmask fl_create_alphamask(int w, int h, int d, int ld, const uchar *data); extern FL_EXPORT void fl_delete_bitmask(Fl_Bitmask bm); +// Dummy function to register a function for opening files via the window manager... +inline void fl_open_callback(void (*)(const char *)) {} + extern FL_EXPORT int fl_parse_color(const char* p, uchar& r, uchar& g, uchar& b); // -// End of "$Id: win32.H,v 1.15.2.3.2.10 2003/01/30 21:40:55 easysw Exp $". +// End of "$Id: win32.H,v 1.15.2.3.2.11 2003/06/01 00:31:31 easysw Exp $". // diff --git a/FL/x.H b/FL/x.H index 6673ab782..c71524b28 100644 --- a/FL/x.H +++ b/FL/x.H @@ -1,5 +1,5 @@ // -// "$Id: x.H,v 1.10.2.8.2.12 2003/01/30 21:40:58 easysw Exp $" +// "$Id: x.H,v 1.10.2.8.2.13 2003/06/01 00:31:32 easysw Exp $" // // X11 header file for the Fast Light Tool Kit (FLTK). // @@ -132,11 +132,14 @@ FL_EXPORT Fl_Window* fl_find(Window xid); extern FL_EXPORT char fl_override_redirect; // hack into Fl_X::make_xid() extern FL_EXPORT int fl_background_pixel; // hack into Fl_X::make_xid() +// Dummy function to register a function for opening files via the window manager... +inline void fl_open_callback(void (*)(const char *)) {} + extern FL_EXPORT int fl_parse_color(const char* p, uchar& r, uchar& g, uchar& b); # endif #endif // -// End of "$Id: x.H,v 1.10.2.8.2.12 2003/01/30 21:40:58 easysw Exp $". +// End of "$Id: x.H,v 1.10.2.8.2.13 2003/06/01 00:31:32 easysw Exp $". // diff --git a/fltk.list.in b/fltk.list.in index 5b564c8f3..590904005 100644 --- a/fltk.list.in +++ b/fltk.list.in @@ -1,5 +1,5 @@ # -# "$Id: fltk.list.in,v 1.1.2.10 2003/06/01 00:23:56 easysw Exp $" +# "$Id: fltk.list.in,v 1.1.2.11 2003/06/01 00:31:31 easysw Exp $" # # EPM product list file for the Fast Light Tool Kit (FLTK). # @@ -53,6 +53,7 @@ $FLUID=@FLUID@ %system darwin f 0444 root sys $includedir/FL/mac.r FL/mac.r +l 0444 root sys /usr/inclue/gcc/darwin/3.1/g++-v3/FL $includedir/FL d 0555 root sys /Applications/fluid.app - d 0555 root sys /Applications/fluid.app/Contents - @@ -261,5 +262,5 @@ f 0444 root sys $datadir/doc/fltk/COPYING COPYING f 0444 root sys $datadir/doc/fltk/CHANGES CHANGES # -# End of "$Id: fltk.list.in,v 1.1.2.10 2003/06/01 00:23:56 easysw Exp $". +# End of "$Id: fltk.list.in,v 1.1.2.11 2003/06/01 00:31:31 easysw Exp $". # -- cgit v1.2.3