Commit 150dee4e authored by Aaron M. Ucko's avatar Aaron M. Ucko

Load fltk-1.1.4rc1 into branches/upstream/current.

parent 55503757
----TEXT----
The first release candidate for FLTK 1.1.4 is now available for
download and testing. You now have until June 9th, 2003 to
report any problems with this release candidate using the
software trouble report form at the following URL:
http://www.fltk.org/str.php
If no priority 4 or 5 STRs are received and confirmed before
this date, FLTK 1.1.4 will be released.
Note: Since problems reported on the FLTK newsgroups or mailing
lists are *not* automatically entered as STRs, it is important
that you report any problems using the STR form.
---- Draft FLTK 1.1.4 Release Announcement ----
The FLTK Team is proud to announce the release of FLTK 1.1.4,
a cross-platform C++ GUI toolkit for UNIX(r)/Linux(r) (X11),
Microsoft(r) Windows(r), and MacOS(r) X. FLTK provides
modern GUI functionality without the bloat and supports 3D
graphics via OpenGL(r) and its built-in GLUT emulation.
The FLTK 1.1.4 release is primarily a bug-fix release including
fixes to FLUID and the Fl_File_Chooser, Fl_Help_View,
Fl_Text_Display, and Fl_Text_Editor widgets. The new release
also adds a find method to Fl_Help_View.
FLTK is provided under the GNU Library Public License with
exceptions that allow for static linking.
Changes since FLTK 1.1.3 include:
- The file chooser did not reset the click count when
changing directories; if you clicked on a file in the
same position after changing directories with a
double- click, the chooser treated it as a triple
click (STR #27)
- Symbols with outlines did not get drawn inactive.
- The Fl_Help_View widget now provides a find() method
to search for text within the page.
- The Fl_Help_Dialog widget now provides a search box
for entering text to search for.
- The default font encoding on OSX did not match the
default on WIN32 or X11.
- Menu items were not drawn using the font specified in
the Fl_Menu_Item structure (STR #30)
- Long menus that were aligned such that the top of an
item was exactly at the top of the screen would not
scroll (STR #33)
- The OS issues appendix incorrectly stated that MacOS
8.6 and 9 were supported; they are not (STR #28)
- Fixed handling of nested double-buffered windows (STR
#1)
- Showing a subwindow inside a hidden window would crash
the application (STR #23)
- OSX users couldn't enter some special chars when using
some foreign key layouts (STR #32)
- Hiding subwindows on OSX would hide the parent window
(STR #22)
- Added thin plastic box types.
- Fl_Pack ignored the box() setting and cleared any
unused areas to the widget color; it now only does so
if the box() is set to something other than FL_NO_BOX.
- Updated the Fl_Tabs widget to offset the first tab by
the box dx value to avoid visual errors.
- Updated the plastic up box to draw only a single
border frame instead of the old double one for
improved appearance.
- Updated the default background color on OSX to provide
better contrast.
- Fl_Text_Display and friends now look for the next
non-punctuation/space character for word boundaries
(STR #26)
- gl_font() didn't work properly for X11 when Xft was
used (STR #12)
- Fl_File_Browser incorrectly included "." on WIN32 (STR
#9)
- Include shellapi.h instead of ShellAPI.h in the WIN32
drag-n-drop code in order to work with the MingW cross
compiler (STR #6)
- The cursor was not properly restored when doing
drag-n-drop on X11 (STR #4)
- Fl::remove_fd() didn't recalculate the highest file
descriptor properly (STR #20)
- Fl_Preferences::deleteGroup() didn't work properly
(STR #13)
- Fixed the fl_show_file_selector() function - it was
copying using the wrong string size (STR #14)
- fl_font() and fl_size() were not implemented on MacOS
X.
- Sorted the icon menu bar in fluid.
- Fixed minor memory access complaints from Valgrind
- Compiling src/flstring.h on OS X with BSD header would
fail.
- Fl_Text_Editor didn't scroll the buffer when the user
pressed Ctrl+End or Ctrl+Home.
- Fl_Text_Editor didn't show its cursor when the mouse
was moved inside the window.
- FLUID now uses an Fl_Text_Display widget for command
output, which allows you to copy and paste text from
command output into other windows.
- Fl_Gl_Window could cause a bus error on MacOS X if the
parent window was not yet shown.
- FLUID could crash after displaying a syntax error
dialog for the callback code.
- FLUID would reset the callback code if you opened the
widget panel for multiple widgets.
- Added a NULL check to Fl_Text_Display (SF Bug #706921).
- The fltk-config script placed the LDFLAGS at the wrong
place in the linker options.
- Fl_Text_Display didn't draw the outer box in the right
dimensions, so it was invisible.
- Fl_Help_Dialog used the same color for links as for
the background, causing links to be invisible on pages
without a background color set.
----HTML----
<P>The first release candidate for FLTK 1.1.4 is now available
for download and testing. You now have until June 9th, 2003 to
report any problems with this release candidate using the
software trouble report form at the following URL:</P>
<PRE>
<A HREF="http://www.fltk.org/str.php">http://www.fltk.org/str.php</A>
</PRE>
<P>If no priority 4 or 5 STRs are received and confirmed before
this date, 1.1.4 will be released.
<P>Note: Since problems reported on the FLTK newsgroups or
mailing lists are <I>not</I> automatically entered as STRs, it
is important that you report any problems using the STR form.
<P ALIGN="CENTER">---- Draft FLTK 1.1.4 Release Announcement ----</P>
<P>The FLTK Team is proud to announce the release of FLTK 1.1.4,
a cross-platform C++ GUI toolkit for UNIX&reg;/Linux&reg; (X11),
Microsoft&reg; Windows&reg;, and MacOS&reg; X. FLTK provides
modern GUI functionality without the bloat and supports 3D
graphics via OpenGL&reg; and its built-in GLUT emulation.
<P>The FLTK 1.1.4 release is primarily a bug-fix release
including fixes to FLUID and the Fl_File_Chooser, Fl_Help_View,
Fl_Text_Display, and Fl_Text_Editor widgets. The new release
also adds a find method to Fl_Help_View.
<P>FLTK is provided under the GNU Library Public License with
exceptions that allow for static linking.
<P>Changes since FLTK 1.1.3 include:
<UL>
<LI>The file chooser did not reset the click count when
changing directories; if you clicked on a file in the
same position after changing directories with a
double<LI>click, the chooser treated it as a triple
click (STR #27)
<LI>Symbols with outlines did not get drawn inactive.
<LI>The Fl_Help_View widget now provides a find() method
to search for text within the page.
<LI>The Fl_Help_Dialog widget now provides a search box
for entering text to search for.
<LI>The default font encoding on OSX did not match the
default on WIN32 or X11.
<LI>Menu items were not drawn using the font specified in
the Fl_Menu_Item structure (STR #30)
<LI>Long menus that were aligned such that the top of an
item was exactly at the top of the screen would not
scroll (STR #33)
<LI>The OS issues appendix incorrectly stated that MacOS
8.6 and 9 were supported; they are not (STR #28)
<LI>Fixed handling of nested double-buffered windows (STR
#1)
<LI>Showing a subwindow inside a hidden window would crash
the application (STR #23)
<LI>OSX users couldn't enter some special chars when using
some foreign key layouts (STR #32)
<LI>Hiding subwindows on OSX would hide the parent window
(STR #22)
<LI>Added thin plastic box types.
<LI>Fl_Pack ignored the box() setting and cleared any
unused areas to the widget color; it now only does so
if the box() is set to something other than FL_NO_BOX.
<LI>Updated the Fl_Tabs widget to offset the first tab by
the box dx value to avoid visual errors.
<LI>Updated the plastic up box to draw only a single
border frame instead of the old double one for
improved appearance.
<LI>Updated the default background color on OSX to provide
better contrast.
<LI>Fl_Text_Display and friends now look for the next
non-punctuation/space character for word boundaries
(STR #26)
<LI>gl_font() didn't work properly for X11 when Xft was
used (STR #12)
<LI>Fl_File_Browser incorrectly included "." on WIN32 (STR
#9)
<LI>Include shellapi.h instead of ShellAPI.h in the WIN32
drag-n-drop code in order to work with the MingW cross
compiler (STR #6)
<LI>The cursor was not properly restored when doing
drag-n-drop on X11 (STR #4)
<LI>Fl::remove_fd() didn't recalculate the highest file
descriptor properly (STR #20)
<LI>Fl_Preferences::deleteGroup() didn't work properly
(STR #13)
<LI>Fixed the fl_show_file_selector() function <LI>it was
copying using the wrong string size (STR #14)
<LI>fl_font() and fl_size() were not implemented on MacOS
X.
<LI>Sorted the icon menu bar in fluid.
<LI>Fixed minor memory access complaints from Valgrind
<LI>Compiling src/flstring.h on OS X with BSD header would
fail.
<LI>Fl_Text_Editor didn't scroll the buffer when the user
pressed Ctrl+End or Ctrl+Home.
<LI>Fl_Text_Editor didn't show its cursor when the mouse
was moved inside the window.
<LI>FLUID now uses an Fl_Text_Display widget for command
output, which allows you to copy and paste text from
command output into other windows.
<LI>Fl_Gl_Window could cause a bus error on MacOS X if the
parent window was not yet shown.
<LI>FLUID could crash after displaying a syntax error
dialog for the callback code.
<LI>FLUID would reset the callback code if you opened the
widget panel for multiple widgets.
<LI>Added a NULL check to Fl_Text_Display (SF Bug #706921).
<LI>The fltk-config script placed the LDFLAGS at the wrong
place in the linker options.
<LI>Fl_Text_Display didn't draw the outer box in the right
dimensions, so it was invisible.
<LI>Fl_Help_Dialog used the same color for links as for
the background, causing links to be invisible on pages
without a background color set.
</UL>
CHANGES IN FLTK 1.1.4rc1
- The file chooser did not reset the click count when
changing directories; if you clicked on a file in the
same position after changing directories with a
double-click, the chooser treated it as a triple
click (STR #27)
- Symbols with outlines did not get drawn inactive.
- The Fl_Help_View widget now provides a find() method
to search for text within the page.
- The Fl_Help_Dialog widget now provides a search box
for entering text to search for.
- The default font encoding on OSX did not match the
default on WIN32 or X11.
- Menu items were not drawn using the font specified in
the Fl_Menu_Item structure (STR #30)
- Long menus that were aligned such that the top of an
item was exactly at the top of the screen would not
scroll (STR #33)
- The OS issues appendix incorrectly stated that MacOS
8.6 and 9 were supported; they are not (STR #28)
- Fixed handling of nested double-buffered windows (STR
#1)
- Showing a subwindow inside a hidden window would crash
the application (STR #23)
- OSX users couldn't enter some special chars when using
some foreign key layouts (STR #32)
- Hiding subwindows on OSX would hide the parent window
(STR #22)
- Added thin plastic box types.
- Fl_Pack ignored the box() setting and cleared any
unused areas to the widget color; it now only does so
if the box() is set to something other than FL_NO_BOX.
- Updated the Fl_Tabs widget to offset the first tab by
the box dx value to avoid visual errors.
- Updated the plastic up box to draw only a single
border frame instead of the old double one for
improved appearance.
- Updated the default background color on OSX to provide
better contrast.
- Fl_Text_Display and friends now look for the next
non-punctuation/space character for word boundaries
(STR #26)
- gl_font() didn't work properly for X11 when Xft was
used (STR #12)
- Fl_File_Browser incorrectly included "." on WIN32 (STR
#9)
- Include shellapi.h instead of ShellAPI.h in the WIN32
drag-n-drop code in order to work with the MingW cross
compiler (STR #6)
- The cursor was not properly restored when doing
drag-n-drop on X11 (STR #4)
- Fl::remove_fd() didn't recalculate the highest file
descriptor properly (STR #20)
- Fl_Preferences::deleteGroup() didn't work properly
(STR #13)
- Fixed the fl_show_file_selector() function - it was
copying using the wrong string size (STR #14)
- fl_font() and fl_size() were not implemented on MacOS
X.
- Sorted the icon menu bar in fluid.
- Fixed minor memory access complaints from Valgrind
- Compiling src/flstring.h on OS X with BSD header would
fail.
- Fl_Text_Editor didn't scroll the buffer when the user
pressed Ctrl+End or Ctrl+Home.
- Fl_Text_Editor didn't show its cursor when the mouse
was moved inside the window.
- FLUID now uses an Fl_Text_Display widget for command
output, which allows you to copy and paste text from
command output into other windows.
- Fl_Gl_Window could cause a bus error on MacOS X if the
parent window was not yet shown.
- FLUID could crash after displaying a syntax error
dialog for the callback code.
- FLUID would reset the callback code if you opened the
widget panel for multiple widgets.
- Added a NULL check to Fl_Text_Display (SF Bug #706921).
- The fltk-config script placed the LDFLAGS at the wrong
place in the linker options.
- Fl_Text_Display didn't draw the outer box in the right
dimensions, so it was invisible.
- Fl_Help_Dialog used the same color for links as for
the background, causing links to be invisible on pages
without a background color set.
CHANGES IN FLTK 1.1.3
- Documentation updates.
......
CREDITS - Fast Light Tool Kit (FLTK) Version 1.1.0
-------------------------------------------------
CREDITS - Fast Light Tool Kit (FLTK) Version 1.1.4
--------------------------------------------------
This file lists the people responsible for the toolkit you
are now using. If you've looking for your name in lights
......@@ -12,7 +12,7 @@ CORE DEVELOPERS
The following people do the day-to-day development of FLTK:
Craig P. Earls
Curtis Edwards (trilex@users.sourceforge.net)
Curtis Edwards (trilec@users.sourceforge.net)
Gustavo Hime (hime@users.sourceforge.net)
Talbot Hughes
Robert Kesterson (robertk@users.sourceforge.net)
......
//
// "$Id: Enumerations.H,v 1.18.2.14.2.32 2003/01/30 21:38:31 easysw Exp $"
// "$Id: Enumerations.H,v 1.18.2.14.2.34 2003/05/18 22:12:19 easysw Exp $"
//
// Enumerations for the Fast Light Tool Kit (FLTK).
//
......@@ -45,7 +45,7 @@
#define FL_MAJOR_VERSION 1
#define FL_MINOR_VERSION 1
#define FL_PATCH_VERSION 3
#define FL_PATCH_VERSION 4
#define FL_VERSION ((double)FL_MAJOR_VERSION + \
(double)FL_MINOR_VERSION * 0.01 + \
(double)FL_PATCH_VERSION * 0.0001)
......@@ -173,6 +173,7 @@ enum Fl_Boxtype { // boxtypes (if you change these you must fix fl_boxtype.C):
_FL_OVAL_FRAME, _FL_OFLAT_BOX,
_FL_PLASTIC_UP_BOX, _FL_PLASTIC_DOWN_BOX,
_FL_PLASTIC_UP_FRAME, _FL_PLASTIC_DOWN_FRAME,
_FL_PLASTIC_THIN_UP_BOX, _FL_PLASTIC_THIN_DOWN_BOX,
FL_FREE_BOXTYPE
};
extern FL_EXPORT Fl_Boxtype fl_define_FL_ROUND_UP_BOX();
......@@ -202,6 +203,8 @@ extern FL_EXPORT Fl_Boxtype fl_define_FL_PLASTIC_UP_BOX();
#define FL_PLASTIC_DOWN_BOX (Fl_Boxtype)(fl_define_FL_PLASTIC_UP_BOX()+1)
#define FL_PLASTIC_UP_FRAME (Fl_Boxtype)(fl_define_FL_PLASTIC_UP_BOX()+2)
#define FL_PLASTIC_DOWN_FRAME (Fl_Boxtype)(fl_define_FL_PLASTIC_UP_BOX()+3)
#define FL_PLASTIC_THIN_UP_BOX (Fl_Boxtype)(fl_define_FL_PLASTIC_UP_BOX()+4)
#define FL_PLASTIC_THIN_DOWN_BOX (Fl_Boxtype)(fl_define_FL_PLASTIC_UP_BOX()+5)
// conversions of box types to other boxtypes:
inline Fl_Boxtype fl_down(Fl_Boxtype b) {return (Fl_Boxtype)(b|1);}
......@@ -414,5 +417,5 @@ enum Fl_Damage {
#endif
//
// End of "$Id: Enumerations.H,v 1.18.2.14.2.32 2003/01/30 21:38:31 easysw Exp $".
// End of "$Id: Enumerations.H,v 1.18.2.14.2.34 2003/05/18 22:12:19 easysw Exp $".
//
// generated by Fast Light User Interface Designer (fluid) version 1.0103
// generated by Fast Light User Interface Designer (fluid) version 1.0104
#ifndef Fl_Help_Dialog_H
#define Fl_Help_Dialog_H
......@@ -6,12 +6,14 @@
#include <FL/Fl_Double_Window.H>
#include <FL/Fl_Help_View.H>
#include <FL/Fl_Button.H>
#include <FL/Fl_Input.H>
class FL_EXPORT Fl_Help_Dialog {
int index_;
int max_;
int line_[100];
char file_[100][256];
int find_pos_;
public:
Fl_Help_Dialog();
private:
......@@ -33,6 +35,9 @@ private:
Fl_Button *larger_;
inline void cb_larger__i(Fl_Button*, void*);
static void cb_larger_(Fl_Button*, void*);
Fl_Input *find_;
inline void cb_find__i(Fl_Input*, void*);
static void cb_find_(Fl_Input*, void*);
public:
~Fl_Help_Dialog();
int h();
......
//
// "$Id: Fl_Help_View.H,v 1.1.2.11 2003/01/30 21:39:13 easysw Exp $"
// "$Id: Fl_Help_View.H,v 1.1.2.12 2003/05/21 16:12:14 easysw Exp $"
//
// Help Viewer widget definitions.
//
......@@ -164,6 +164,7 @@ class FL_EXPORT Fl_Help_View : public Fl_Group //// Help viewer widget
else return ((const char *)0); }
const char *filename() const { if (filename_[0]) return (filename_);
else return ((const char *)0); }
int find(const char *s, int p = 0);
void link(Fl_Help_Func *fn) { link_ = fn; }
int load(const char *f);
void resize(int,int,int,int);
......@@ -187,5 +188,5 @@ class FL_EXPORT Fl_Help_View : public Fl_Group //// Help viewer widget
#endif // !Fl_Help_View_H
//
// End of "$Id: Fl_Help_View.H,v 1.1.2.11 2003/01/30 21:39:13 easysw Exp $".
// End of "$Id: Fl_Help_View.H,v 1.1.2.12 2003/05/21 16:12:14 easysw Exp $".
//
......@@ -188,7 +188,7 @@ COPYRIGHT
Gustavo Hime (hime@users.sourceforge.net)
Talbot Hughes
Robert Kesterson (robertk@users.sourceforge.net)
Matthias Melcher (matthias@users.sourceforge.net)
Matthias Melcher (matthiaswm@users.sourceforge.net)
James Dean Palmer (jamespalmer@users.sourceforge.net)
Vincent Penne (vincentp@users.sourceforge.net)
Michael Sweet (easysw@users.sourceforge.net)
......
......@@ -1210,8 +1210,8 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
FL_MAJOR_VERSION=1
FL_MINOR_VERSION=1
FL_PATCH_VERSION=3
FL_RELEASE_VERSION=
FL_PATCH_VERSION=4
FL_RELEASE_VERSION=rc1
FL_API_VERSION=${FL_MAJOR_VERSION}.${FL_MINOR_VERSION}
......
dnl -*- sh -*-
dnl the "configure" script is made from this by running GNU "autoconf"
dnl
dnl "$Id: configure.in,v 1.33.2.31.2.95 2003/01/30 21:38:18 easysw Exp $"
dnl "$Id: configure.in,v 1.33.2.31.2.97 2003/05/26 01:45:18 easysw Exp $"
dnl
dnl Configuration script for the Fast Light Tool Kit (FLTK).
dnl
......@@ -34,8 +34,8 @@ AC_INIT(src/Fl.cxx)
dnl FLTK library versions...
FL_MAJOR_VERSION=1
FL_MINOR_VERSION=1
FL_PATCH_VERSION=3
FL_RELEASE_VERSION=
FL_PATCH_VERSION=4
FL_RELEASE_VERSION=rc1
FL_API_VERSION=${FL_MAJOR_VERSION}.${FL_MINOR_VERSION}
AC_SUBST(FL_MAJOR_VERSION)
......@@ -848,5 +848,5 @@ dnl Make sure the fltk-config script is executable...
chmod +x fltk-config
dnl
dnl End of "$Id: configure.in,v 1.33.2.31.2.95 2003/01/30 21:38:18 easysw Exp $".
dnl End of "$Id: configure.in,v 1.33.2.31.2.97 2003/05/26 01:45:18 easysw Exp $".
dnl
......@@ -44,6 +44,7 @@ behavior.
<UL>
<LI><A href=#Fl_Group.child>child</A></LI>
<LI><A href=#Fl_Group.children>children</A></LI>
<LI><A href="#Fl_Group.clear">clear</A></LI>
<LI><A href=#Fl_Group.current>current</A></LI>
</UL>
</TD><TD align=left valign=top>
......@@ -78,6 +79,10 @@ that it is destroyed last.
The widget is removed from it's current group (if any) and then added
to the end of this group.
<H4><A name="Fl_Group.clear">void Fl_Group::clear()</A></H4>
<P>The <TT>clear()</TT> method deletes all child widgets recursively.
<H4><A name="Fl_Group.init_sizes">void Fl_Group::init_sizes()</A></H4>
The <TT>Fl_Group</TT> widget keeps track of the original widget sizes and
......
<HTML>
<HEAD>
<META NAME="robots" CONTENT="noindex">
<TITLE>FLTK 1.1.3 Programming Manual</TITLE>
<TITLE>FLTK 1.1.4 Programming Manual</TITLE>
</HEAD>
<BODY>
......@@ -10,7 +10,7 @@
<TD VALIGN="MIDDLE">
<IMG SRC="FL.gif" WIDTH="200" HEIGHT="100" ALIGN="ABSMIDDLE" ALT="FL"></TD>
<TD ALIGN="CENTER" VALIGN="MIDDLE">
<H1>FLTK 1.1.3 Programming Manual</H1>
<H1>FLTK 1.1.4 Programming Manual</H1>
<P>Revision 4 by Michael Sweet, Craig P. Earls, and Bill Spitzak<BR>
Copyright 1998-2003 by Bill Spitzak and others.</P>
</TD>
......
......@@ -584,21 +584,19 @@ version of FLTK:
<H2>The MacOS Interface</h2>
<P>FLTK supports MacOS 8.6, MacOS 9 and MacOS X using the Apple
Carbon library. When compiled with MPW or MetroWerks'
CodeWarrior, application binaries in CFM format will run on all
the above systems without changes. The OS X GNU (gcc) compiler,
however, creates Mach-O binaries which are not supported by
MacOS 9 and earlier.
<H4>control, option and command modifier keys</H4>
<P>FLTK maps the Mac 'control' key to FL_CTRL, the 'option' key
to FL_ALT and the 'Apple' key to FL_META. Keyboard events return
the key name in Fl::event_key and the keystroke translation in
Fl::event_text. For example, typing Option-Y on a Mac keyboard
will set FL_ALT in Fl::event_state, set Fl::event_key to 'y'
and return the Yen symbol in Fl::event_text.
<P>FLTK supports MacOS X using the Apple Carbon library. Older
versions of MacOS are <I>not</I> supported.
<H4>Control, Option, and Command Modifier Keys</H4>
<P>FLTK maps the Mac 'control' key to <TT>FL_CTRL</TT>, the
'option' key to <TT>FL_ALT</TT> and the 'Apple' key to
<TT>FL_META</TT>. Keyboard events return the key name in
<TT>Fl::event_key()</TT> and the keystroke translation in
<TT>Fl::event_text()</TT>. For example, typing Option-Y on a Mac
keyboard will set <TT>FL_ALT</TT> in <TT>Fl::event_state()</TT>,
set <TT>Fl::event_key()</TT> to 'y' and return the Yen symbol in
<TT>Fl::event_text()</TT>.
<H4>WindowRef fl_xid(const Fl_Window *)</H4>
......@@ -619,7 +617,7 @@ called, FLTK has prepared the Window and CGrafPort for drawing.
Clipping and offsets are prepared to allow correct subwindow
drawing.
<P>OS X doublebuffers all windows automatically. On OS X,
<P>OS X double-buffers all windows automatically. On OS X,
<tt>Fl_Window</tt> and <tt>Fl_Double_Window</tt> are handled
internally in the same way.
......@@ -628,17 +626,24 @@ internally in the same way.
<h4>Resource Forks</h4>
<P>FLTK does not access the resource fork of an application.
However, a minimal resource fork must be created for OS 8 and OS
X applications
However, a minimal resource fork must be created for OS X
applications
<br><br>Caution: when using Unix commands to copy or move executables,
OS X will NOT copy any resource forks! For copying and moving use CpMac
and MvMac respectively. For creating a tar archive, all executables
need to be stripped from their Resource Fork before packing (DeRez fluid >fluid.r).
After unpacking the Resource Fok needs to be reattached (Rez fluid.r -o fluid).
<CENTER><TABLE WIDTH="80%" BORDER="1" BGCOLOR="#cccccc" CELLPADDING="5">
<TR><TD><B>Caution:</B>
<br><br>It is advisable to use the Finder for moving and copying and Mac archiving
tools like Sit for distribution as they will handle the Resource Fork correctly.
<P>When using UNIX commands to copy or move executables, OS X
will NOT copy any resource forks! For copying and moving use
CpMac and MvMac respectively. For creating a tar archive, all
executables need to be stripped from their Resource Fork before
packing, e.g. "DeRez fluid >fluid.r". After unpacking the
Resource Fork needs to be reattached, e.g. "Rez fluid.r -o
fluid".
</TD></TR></TABLE></CENTER>
<P>It is advisable to use the Finder for moving and copying and
Mac archiving tools like Sit for distribution as they will
handle the Resource Fork correctly.
<h4>Mac File Paths</h4>
......@@ -646,8 +651,8 @@ tools like Sit for distribution as they will handle the Resource Fork correctly.
<H3>Known MacOS Bugs and Problems</H3>
<P>The following is a list of known bugs and problems in the MacOS
version of FLTK:
<P>The following is a list of known bugs and problems in the
MacOS version of FLTK:
<UL>
......
......@@ -3,14 +3,14 @@
<META CONTENT="Written by Michael Sweet, Craig P. Earls, and Bill Spitzak" NAME="Author">
<META CONTENT="Copyright 1998-2003 by Bill Spitzak and Others." NAME="Copyright">
<META CONTENT="Revision 4" NAME="DocNumber">
<TITLE>FLTK 1.1.3 Programming Manual</TITLE>
<TITLE>FLTK 1.1.4 Programming Manual</TITLE>
</HEAD>
<BODY>
<H1 ALIGN="RIGHT"><A NAME="preface">Preface</A></H1>
<P>This manual describes the Fast Light Tool Kit (&quot;FLTK&quot;)
version 1.1.3, a C++ Graphical User Interface
version 1.1.4, a C++ Graphical User Interface
(&quot;GUI&quot;) toolkit for UNIX, Microsoft Windows and MacOS. Each
of the chapters in this manual is designed as a tutorial for
using FLTK, while the appendices provide a convenient reference
......
#!/bin/sh
#
# "$Id: fltk-config.in,v 1.12.2.17 2003/01/30 21:38:21 easysw Exp $"
# "$Id: fltk-config.in,v 1.12.2.18 2003/03/26 00:47:14 easysw Exp $"
#
# FLTK configuration utility.
#
......@@ -53,7 +53,7 @@ POSTBUILD="@POSTBUILD@"
CFLAGS="@CFLAGS@"
CXXFLAGS="@CXXFLAGS@"
LDFLAGS="@LDFLAGS@"
LDLIBS="@LDFLAGS@ @LIBS@"
LDLIBS="@LIBS@"
# libraries to link with:
LIBNAME="@LIBNAME@"
......@@ -212,8 +212,8 @@ if test x$use_images = xyes; then
LDSTATIC="$libdir/libfltk_images.a $IMAGELIBS $LDSTATIC"
fi
LDLIBS="$DSOLINK $LDLIBS"
LDSTATIC="$LDSTATIC"
LDLIBS="$DSOLINK $LDFLAGS $LDLIBS"
LDSTATIC="$LDFLAGS $LDSTATIC"
# Answer to user requests
if test -n "$echo_help"; then
......@@ -292,5 +292,5 @@ if test "$echo_libs" = "yes"; then
fi
#
# End of "$Id: fltk-config.in,v 1.12.2.17 2003/01/30 21:38:21 easysw Exp $".
# End of "$Id: fltk-config.in,v 1.12.2.18 2003/03/26 00:47:14 easysw Exp $".
#
#
# "$Id: fltk.spec,v 1.1.2.9.2.21 2002/11/25 18:19:46 easysw Exp $"
# "$Id: fltk.spec,v 1.1.2.9.2.23 2003/05/26 14:31:59 easysw Exp $"
#
# RPM spec file for FLTK.
#
......@@ -23,7 +23,7 @@
# Please report all bugs and problems to "fltk-bugs@fltk.org".
#
%define version 1.1.3
%define version 1.1.4rc1
%define release 0
%define prefix /usr
......@@ -96,5 +96,5 @@ rm -rf $RPM_BUILD_ROOT
%{prefix}/share/doc/fltk/*
#
# End of "$Id: fltk.spec,v 1.1.2.9.2.21 2002/11/25 18:19:46 easysw Exp $".
# End of "$Id: fltk.spec,v 1.1.2.9.2.23 2003/05/26 14:31:59 easysw Exp $".
#
//
// "$Id: Fl_Widget_Type.cxx,v 1.15.2.16.2.22 2002/11/05 06:45:40 matthiaswm Exp $"
// "$Id: Fl_Widget_Type.cxx,v 1.15.2.16.2.24 2003/05/18 22:12:19 easysw Exp $"
//
// Widget type code for the Fast Light Tool Kit (FLTK).
//
......@@ -501,6 +501,8 @@ Fl_Menu_Item boxmenu[] = {
{"OFLAT_BOX",0,0,(void *)FL_OFLAT_BOX},
{"PLASTIC_UP_BOX",0,0,(void *)FL_PLASTIC_UP_BOX},
{"PLASTIC_DOWN_BOX",0,0,(void *)FL_PLASTIC_DOWN_BOX},
{"PLASTIC_THIN_UP_BOX",0,0,(void *)FL_PLASTIC_THIN_UP_BOX},
{"PLASTIC_THIN_DOWN_BOX",0,0,(void *)FL_PLASTIC_THIN_DOWN_BOX},
{0},
{"frames",0,0,0,FL_SUBMENU},
{"UP_FRAME",0,0,(void *)FL_UP_FRAME},
......@@ -948,7 +950,11 @@ void callback_cb(Fl_Text_Editor* i, void *v) {
} else {
char *c = i->buffer()->text();
const char *d = c_check(c);
if (d) {fl_message("Error in callback: %s",d); haderror = 1; return;}
if (d) {
fl_message("Error in callback: %s",d);
if (i->window()) i->window()->make_current();
haderror = 1;
}
for (Fl_Type *o = Fl_Type::first; o; o = o->next) if (o->selected) {
o->callback(c);
}
......@@ -1972,5 +1978,5 @@ int Fl_Widget_Type::read_fdesign(const char* propname, const char* value) {
}
//
// End of "$Id: Fl_Widget_Type.cxx,v 1.15.2.16.2.22 2002/11/05 06:45:40 matthiaswm Exp $".
// End of "$Id: Fl_Widget_Type.cxx,v 1.15.2.16.2.24 2003/05/18 22:12:19 easysw Exp $".
//
// generated by Fast Light User Interface Designer (fluid) version 1.0100
// generated by Fast Light User Interface Designer (fluid) version 1.0104
#include "about_panel.h"
void show_help(const char *name);
......@@ -85,7 +85,7 @@ Fl_Window* make_about_panel() {
o->labelcolor(7);
o->align(FL_ALIGN_TOP|FL_ALIGN_INSIDE);
}
{ Fl_Box* o = new Fl_Box(140, 27, 160, 123, "FLTK User\nInterface\nDesigner\nVersion 1.1.0");
{ Fl_Box* o = new Fl_Box(140, 27, 160, 123, "FLTK User\nInterface\nDesigner\nVersion 1.1.4");
o->box(FL_OVAL_BOX);
o->color(12);
o->selection_color(47);
......@@ -94,7 +94,7 @@ Fl_Window* make_about_panel() {
o->labelsize(18);
o->labelcolor(7);
}
{ Fl_Button* o = new Fl_Button(181, 176, 115, 30, "\251""1998-2002 by\nBill Spitzak and others");
{ Fl_Button* o = new Fl_Button(181, 176, 115, 30, "\251""1998-2003 by\nBill Spitzak and others");
o->box(FL_THIN_UP_BOX);
o->labelsize(10);
o->labelcolor(136);
......
# data file for the Fltk User Interface Designer (fluid)
version 1.0100
version 1.0104
header_name {.h}
code_name {.cxx}
gridx 10
gridy 10
snap 3
decl {void show_help(const char *name);} {selected public
code_name {.cxx}
decl {void show_help(const char *name);} {public
}