Commit Graph

9190 Commits

Author SHA1 Message Date
Michael R Sweet e232a9b094 Changed "include_H_from_C" to default to 1 instead of 0.
git-svn-id: file:///fltk/svn/fltk/trunk@305 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-02-19 15:03:26 +00:00
Michael R Sweet 3702edc89d Added comment parsing in _c_check().
git-svn-id: file:///fltk/svn/fltk/trunk@304 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-02-19 14:53:04 +00:00
Michael R Sweet 9b0162e212 Added modified patch from Tom Holroyd to support class "chaining".
git-svn-id: file:///fltk/svn/fltk/trunk@303 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-02-19 14:33:22 +00:00
Michael R Sweet 34caa8250d Added fix from Tom Holroyd to call fl_elapsed() in Fl::add_timeout().
git-svn-id: file:///fltk/svn/fltk/trunk@302 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-02-19 14:26:30 +00:00
Michael R Sweet 45e7f3f99e Fixed bug in write_static() method - when getting the menu_name() and
index we need to use the current menu item (q) and not the current menu.


git-svn-id: file:///fltk/svn/fltk/trunk@301 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-02-19 14:23:23 +00:00
Michael R Sweet 1bf7ee1dac Updated header files to only use FL_DLL stuff when compiled
with VC++.


git-svn-id: file:///fltk/svn/fltk/trunk@300 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-02-19 13:52:33 +00:00
Michael R Sweet d5bcde4f48 Changed WIN32 Debug targets to use incremental linkage.
git-svn-id: file:///fltk/svn/fltk/trunk@299 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-02-19 13:49:02 +00:00
Michael R Sweet ae5a281a39 Updated install rules to install files with write permission for the
owner.  This isn't necessary for root installs, but is for user-level
installs.


git-svn-id: file:///fltk/svn/fltk/trunk@298 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-02-19 13:10:20 +00:00
Michael R Sweet 8136dfe6b5 Patch from Alexander Mai - Linux needs prototype hack just like AIX and
Unicos.


git-svn-id: file:///fltk/svn/fltk/trunk@297 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-02-19 13:07:40 +00:00
Michael R Sweet b3ef28260e Updated DLL stuff yet again... sigh...
git-svn-id: file:///fltk/svn/fltk/trunk@296 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-02-18 22:07:40 +00:00
Michael R Sweet 480101ea19 Updated Solaris scandir() check - the case statement was giving autoconf
fits...


git-svn-id: file:///fltk/svn/fltk/trunk@294 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-02-18 15:05:50 +00:00
Michael R Sweet 49604377ff Removed FL_STATIC definition from makeinclude file (no longer needed).
Looks like DLL generation with the Cygnus/MingW32 tools is limited to
.DEF files, too...


git-svn-id: file:///fltk/svn/fltk/trunk@293 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-02-18 14:28:18 +00:00
Michael R Sweet 40df358bdb Updated headers to only support DLLs under MSVC++.
Updated WIN32 Debug target to not change inlining option
from the default (causes an error with VC++ 6.0)


git-svn-id: file:///fltk/svn/fltk/trunk@292 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-02-18 14:26:52 +00:00
Michael R Sweet 3b5208b4b5 Updated documentation for OS/2, Cygnus, and MingW32 instructions.
Added Craig P. Earls to author list on FLTK Programming Manual.


git-svn-id: file:///fltk/svn/fltk/trunk@291 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-02-18 14:11:45 +00:00
Michael R Sweet d88ee51b20 Added top-level makefiles for Cygnus and MingW32 builds to avoid
confusion.

Updated compiler options to include FL_STATIC when building libraries.
Eventually we need to support a DLL build option...


git-svn-id: file:///fltk/svn/fltk/trunk@290 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-02-18 14:05:31 +00:00
Michael R Sweet 1c3caadc23 Updated scandir() check to use FLTK scandir function instead of Sun
scandir().

Changed IRIX optimization to always be -O2 to avoid -o32 compiler
warnings.


git-svn-id: file:///fltk/svn/fltk/trunk@289 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-02-18 13:42:08 +00:00
Michael R Sweet a0157c5ba1 Fl_Window::icon() used a parameter named "i", which conflicted with the
"i" member.

fl_draw.H had line style definitions in it, but FLTK 1.0 doesn't have
line style support (that's for 1.1).


git-svn-id: file:///fltk/svn/fltk/trunk@288 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-02-18 13:12:50 +00:00
Michael R Sweet 9aa244c8e3 Fixed typo in configure input (dns# instead of dnl#).
git-svn-id: file:///fltk/svn/fltk/trunk@287 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-02-18 13:00:21 +00:00
Michael R Sweet 55d8e368d7 Updated DLL definitions for VC++ 6.0 - now define "FL_STATIC"
for static library to avoid warnings & errors.


git-svn-id: file:///fltk/svn/fltk/trunk@286 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-02-18 03:20:32 +00:00
Michael R Sweet 0404ded146 Updated README file in the lib directory for DLL info.
git-svn-id: file:///fltk/svn/fltk/trunk@284 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-02-17 17:51:56 +00:00
Michael R Sweet 36417b2fff Updated documentation revision to 3.
git-svn-id: file:///fltk/svn/fltk/trunk@283 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-02-17 17:48:56 +00:00
Michael R Sweet 078a33180c Ampersand wasn't quoted in compose character table.
git-svn-id: file:///fltk/svn/fltk/trunk@282 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-02-17 17:46:57 +00:00
Michael R Sweet c8dbb60e80 Fix from Bill for infinite loop problem when moving groups of widgets.
git-svn-id: file:///fltk/svn/fltk/trunk@281 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-02-17 16:31:47 +00:00
Michael R Sweet 334494d068 Patch from Bill that adds virtual method support.
git-svn-id: file:///fltk/svn/fltk/trunk@280 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-02-17 16:24:45 +00:00
Michael R Sweet bf870685d4 Removed extra "events" target from enumerations.html.
Added missing #include <FL/Enumerations.H> to Fl_XColor.H.


git-svn-id: file:///fltk/svn/fltk/trunk@279 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-02-16 22:27:52 +00:00
Michael R Sweet ca41e69c27 Updated headers to support WIN32 and OS/2 DLLs.
Updated VC++ project files.

Removed dummymain.c (no longer needed).


git-svn-id: file:///fltk/svn/fltk/trunk@278 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-02-16 22:00:04 +00:00
Michael R Sweet 18312d3c1f Updated Fl_Dial to use atan2() to avoid possible math errors and reduce
code size.


git-svn-id: file:///fltk/svn/fltk/trunk@277 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-02-16 17:23:55 +00:00
Michael R Sweet 7b82bc3509 Patch from Bill - not freeing bitmap array?
git-svn-id: file:///fltk/svn/fltk/trunk@276 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-02-16 15:10:53 +00:00
Michael R Sweet ebd08e13a1 Updated the makeinclude and config files to have the standard headers.
Added Carl's Cygnus changes.


git-svn-id: file:///fltk/svn/fltk/trunk@275 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-02-16 14:28:01 +00:00
Michael R Sweet d59ce3cc34 Removed fl_line_style.cxx from makefile...
git-svn-id: file:///fltk/svn/fltk/trunk@274 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-02-16 14:01:46 +00:00
Michael R Sweet fc5e6cb0b6 Whoops - missed a closing bracket...
git-svn-id: file:///fltk/svn/fltk/trunk@273 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-02-16 14:01:10 +00:00
Michael R Sweet b43ba93bdb Menu item numbering bug fix from Bill.
git-svn-id: file:///fltk/svn/fltk/trunk@272 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-02-16 13:55:06 +00:00
Michael R Sweet 3204e098af Patch from Jim Hourihan that adds symbol support to Fl_Choice.
git-svn-id: file:///fltk/svn/fltk/trunk@271 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-02-16 13:48:04 +00:00
Michael R Sweet 761a3b3d85 Fixed dirent.h compatibility file; was including fl_scandir.H instead of
filename.H...


git-svn-id: file:///fltk/svn/fltk/trunk@270 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-02-09 13:41:11 +00:00
Bill Spitzak fd86dad21e Fixed documentation for Fl::grab()
git-svn-id: file:///fltk/svn/fltk/trunk@269 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-02-03 08:54:17 +00:00
Bill Spitzak 8009fef12c Put Fl::grab() into it's own source file. Rewritten as suggested so that
it takes a window pointer, and grab(0) releases.  You can now call grab
repeatedly with the same or different values without it failing.  The old
Fl::grab() and Fl::release() are emulated in inline functions in Fl.H

Added Fl_Menu_::copy(Fl_Menu_Item*), which will be useful for fluid, although
that use is nyi.

Fixes and cleanup to the code for Fl_Menu_::add(...).


git-svn-id: file:///fltk/svn/fltk/trunk@268 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-02-03 08:43:35 +00:00
Michael R Sweet 0434a826d5 Fl_abort.cxx didn't include <config.h>, and didn't conditionally declare
a prototype for vsnprintf().  This caused problems with CodeWarrier.


git-svn-id: file:///fltk/svn/fltk/trunk@267 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-02-02 14:55:59 +00:00
Michael R Sweet 44f8e8e32a Added a section on damage() for widget writers.
git-svn-id: file:///fltk/svn/fltk/trunk@266 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-02-01 20:38:57 +00:00
Michael R Sweet 3377e6e0d5 Added Craig P. Earls to the list of contributors.
git-svn-id: file:///fltk/svn/fltk/trunk@265 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-02-01 20:28:53 +00:00
Michael R Sweet 45950c18df OS/2 XFree86 changes from Alexander Mai.
git-svn-id: file:///fltk/svn/fltk/trunk@264 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-02-01 20:27:16 +00:00
Michael R Sweet 8c2b800488 Updated README and intro.html for a complete discussion on setting
alternate compilers and options.


git-svn-id: file:///fltk/svn/fltk/trunk@263 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-02-01 20:22:20 +00:00
Michael R Sweet 6882323172 Updated Fl_Chart to allocate entries dynamically. The previous "scrolling"
behavior can be restored by calling Fl_Chart::maxsize(), otherwise entries
can be added until you run out of memory.


git-svn-id: file:///fltk/svn/fltk/trunk@262 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-02-01 20:15:00 +00:00
Michael R Sweet 468391363b Updated configure.in for proper debug and optimization handling.
The new configure script now defaults to no debugging; if you use the
--enable-debug option to configure, it uses "-g" for debug.

The optimizer section applies the compiler warning options and optimizer
options separately.  If debug is requested, no -O options are added.

For IRIX 6.2 and higher, and for GCC/EGCS, -O3 is used for optimization.
For IRIX 5.x -O2 is used.  For HP-UX +O2 is used.


git-svn-id: file:///fltk/svn/fltk/trunk@261 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-02-01 19:40:25 +00:00
Michael R Sweet 0e4b539ae3 Fixed fl_line() bugs in for WIN32 - the documentation says
that the LineTo() function will draw up to but not including
the end point.  "It's a feature!"


git-svn-id: file:///fltk/svn/fltk/trunk@260 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-02-01 01:59:13 +00:00
Bill Spitzak 4c53a5d8f4 Added optimization for SGI builds (mike: please run autoconf before making
a distribution).
Documentation fixes.


git-svn-id: file:///fltk/svn/fltk/trunk@259 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-01-31 07:43:16 +00:00
Michael R Sweet 4b8754ace4 Updated Fl_Browser documentation
Added widget hierarchy to Appendix A.

Fixed doubled-up fl_input and fl_choice links (names are not
case sensitive...)

Added FLUID tutorial from Craig P. Earls (none of the sources yet,
just the docos and images)


git-svn-id: file:///fltk/svn/fltk/trunk@258 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-01-30 17:30:09 +00:00
Carl E. Thompson 620d03ee7d Adds Fl_Browser::middleline(int) and Fl_Browser::bottomline(int).
git-svn-id: file:///fltk/svn/fltk/trunk@257 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-01-30 00:39:28 +00:00
Carl E. Thompson 03ad382705 Moved fl_old_shortcut() from Fl_Menu_add.cxx to Fl.cxx so that using a
button in your program doesn't automatically link in a humumgous chunk of
menuing code.

-CET


git-svn-id: file:///fltk/svn/fltk/trunk@256 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-01-29 16:56:48 +00:00
Bill Spitzak ef50e095e7 Fixed buttons in the menubar
git-svn-id: file:///fltk/svn/fltk/trunk@255 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-01-29 07:52:21 +00:00
Michael R Sweet 41195fbba6 Updated to include <sys/select.h> as needed.
Removed IRIX select() prototype - not needed for IRIX 5.3 or higher.


git-svn-id: file:///fltk/svn/fltk/trunk@254 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-01-27 17:52:25 +00:00