Commit Graph

104 Commits

Author SHA1 Message Date
Michael R Sweet 4982fb29a0 Clean up default menu for FLTK applications - don't need "About FLTK".
Add "--post program" option to fltk-config so that MacOS apps can bind
the resources.  Also binds resources with --compile.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1846 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-12-14 19:34:30 +00:00
Michael R Sweet 100f78de3f CygWin threading fixes from Teun.
Update dependencies.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1828 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-12-09 20:26:24 +00:00
Michael R Sweet 64f2cc0635 Fix threading test.
Add threading demo from 2.0, with minor improvements to make the
prime number generation faster/more realistic.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1823 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-12-08 16:23:51 +00:00
Michael R Sweet ba2be02ab2 FLTK 2.0 threading support under FLTK 1.1. Needs porting to OSX.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1819 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-12-06 22:16:49 +00:00
Matthias Melcher ab896c6d5f FLTK 1.1.0 for Mac "Out Of The Box Experience": type 'make' and watch...
- updated configure.in and Makefiles to support Darwin (Mac OS X BSD
  environment)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1813 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-12-06 02:20:36 +00:00
Michael R Sweet fc3999a24e Don't install header symlinks under MacOS either...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1808 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-12-04 19:57:45 +00:00
Michael R Sweet bb2ac233c6 My bad... Remove autoconf-generated Enumerations.H - it's only
needed for updating the version numbers automatically, and I've
gotten update conflicts on several occasions.

The other files (fltk-config, etc.) are still generated by
autoconf.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1800 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-12-03 18:57:45 +00:00
Michael R Sweet 83df36c2de Clean all GL demos with a "make clean".
Don't need -lgdi32 anymore for CygWin.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1793 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-11-29 22:22:08 +00:00
Michael R Sweet 249f06e077 Require autoconf 2.13 or newer.
Remove unnecessary .fl -> .exe rule (was commented out)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1790 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-11-29 21:50:05 +00:00
Michael R Sweet 02d869450d Minor tweeks to the configure script for CygWin and Mesa.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1787 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-11-29 21:12:15 +00:00
Michael R Sweet c78dcd55ec More doco updates.
Enable tooltips by default, and don't enable them when setting the
tooltip value, since that will negate any changes a program might
make when displaying the file chooser dialog, etc.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1777 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-11-28 20:43:44 +00:00
Michael R Sweet 1a7bbc55c5 Configure script changes...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1769 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-11-27 22:03:29 +00:00
Michael R Sweet 42df8c1288 Fix typos from OSX commit.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1766 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-11-27 17:48:16 +00:00
Michael R Sweet 2b85bf8168 Preliminary commit of my MacOS X work.
**** THIS CODE COMPILES BUT DOES NOT WORK. ****

TODO: fix event handling - getting blank windows, etc.
TODO: re-port OpenGL code.
TODO: add support for images with alpha.
TODO: add support for more then just beeps in fl_beep().
TODO: other stuff I'm sure...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1765 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-11-27 17:44:08 +00:00
Michael R Sweet 4323f46e2c Add EM and STRONG support to Fl_HelpView.
Fix --disable-cygwin configure option, and use AC_SEARCH_LIBS for
math library.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1711 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-11-22 13:56:10 +00:00
Michael R Sweet 85f3c6a3db Don't use -lm unless required.
Add --disable-cygwin option.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1709 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-11-20 20:10:59 +00:00
Michael R Sweet 84e38d4d91 Move header installs to new FL/Makefile, which is generated by
configure.

Comment out symlink stuff for Cygwin, and (hopefully) soon for OSX, too.

Add uninstall targets where needed.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1707 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-11-19 21:25:35 +00:00
Michael R Sweet 8b5a03d3a2 More CygWin stuff, and a fix for WIN32 with the new fl_beep() function.
Add a new "migration" appendix to the FLTK manual.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1695 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-11-18 12:48:38 +00:00
Michael R Sweet 406404de72 Update configure script to support non-X platforms; currently just
CygWin, soon OSX too...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1688 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-11-17 15:55:36 +00:00
Michael R Sweet ab1e093308 Don't use -lsupc++ with gcc 2.96; just tried it on RH 7.2 and that
library isn't present or needed.

PNG image support updates for Fl_Help_View and Fl_File_Icon; didn't
handle transparency properly.

Support KDE 2.x icons.

Separate image/load_system_icons code from main Fl_File_Icon sources,
so that apps that don't use load_system_icons() won't need the image
libraries...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1687 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-11-17 15:27:15 +00:00
Michael R Sweet 5338ba6d1e Add check for GCC 2.96, and add -lsupc++ to the link line if so...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1676 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-11-02 20:40:29 +00:00
Michael R Sweet 6c202ba503 Fix uversion setup (only numbers please)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1672 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-11-01 16:55:12 +00:00
Michael R Sweet 52f21643d3 Fix "checking" messages...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1671 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-11-01 16:43:38 +00:00
Michael R Sweet 322d454659 Clean up configure script a little, update default man page
directory...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1670 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-11-01 14:54:06 +00:00
Michael R Sweet 4625fdf7a5 Only add x_includes to path if it is not empty.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1656 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-10-25 17:25:11 +00:00
Michael R Sweet d5e60a4f2b Keep using ${prefix} with mandir, so that RPM builds are easier.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1655 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-10-25 17:13:26 +00:00
Michael R Sweet f4c1454765 Put Linux man pages in /usr/share/man.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1654 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-10-25 17:12:03 +00:00
Michael R Sweet 2d559beaad Check for GCC 3.0.x...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1648 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-10-23 11:42:23 +00:00
Michael R Sweet 461002c3ad Check for png_read_destroy(), since newer versions of libpng do not
provide (or export) this function.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1641 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-10-19 14:04:08 +00:00
Michael R Sweet 621a34c576 Fix configure script - wasn't setting libdir properly for different
exec_prefix values...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1639 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-10-18 20:47:10 +00:00
Michael R Sweet 9da85233f9 Fl::belowmouse() was resetting the tooltip, causing the flashing
in the FLUID window and havoc for the KDE 2.2 window manager...

Changed the default tooltip position to be +10, +10 from the
mouse pointer, and the default tooltip background color to a
pale yellow to match other toolkit defaults.

Update Fl_Widget::flags_ to be an integer, to support more flag
bits.

Update Fl_Window to support override() and set_override() methods.

The configure script did not set the default library path to
/usr/lib32 under IRIX 6.2 and higher when prefix is /usr.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1637 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-10-18 18:53:20 +00:00
Michael R Sweet 8310941985 Check for png_set_tRNS_to_alpha() in configure script.
Add image and documentation defines to all of the config.h files.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1629 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-10-01 16:49:29 +00:00
Michael R Sweet ddf259f2bb New fltk-config script for 1.1.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1614 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-09-29 15:57:32 +00:00
Michael R Sweet 00ef77c267 Add new widgets to FLUID.
Add on-line help to FLUID.

Change ALT shortcuts to CTRL shortcuts.

Update config script to set documentation directory in config.h.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1572 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-08-11 16:09:26 +00:00
Michael R Sweet 90781ce428 No _INCLUDE_POSIX_SOURCE definition for HP-UX...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1567 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-08-08 12:47:59 +00:00
Michael R Sweet 75da2409dc Typo fix...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1557 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-08-05 16:10:09 +00:00
Michael R Sweet f6ea21e2fb Keyboard nav for tabs.
Define MAX_PATH for Cygwin.

Update configure script to add *BSD DSO generation rules and X include
directory for Xdbe.h and OpenGL headers.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1556 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-08-05 15:34:28 +00:00
Michael R Sweet 9d81d971f7 Fl_HelpDialog and Fl_HelpView widgets.
"help" demo.

Minor doco updates.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1539 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-08-02 19:43:49 +00:00
Michael R Sweet 58b0f306be Don't build OpenGL demos if OpenGL is not available or disabled.
Fix depend rule for src directory (wasn't doing OpenGL files)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1520 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-08-02 18:15:44 +00:00
Michael R Sweet bff75e491a OpenGL stuff is now in libfltkgl.*
Added support for shared libraries under AIX.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1519 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-08-02 18:08:36 +00:00
Michael R Sweet f50ac7f22e Fix Mesa test in configure script.
Update changelog.

Update revision number for manual.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1455 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-05-07 14:34:22 +00:00
Michael R Sweet 09f987eeb1 Separate test for GLU and GL...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1449 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-04-30 17:17:01 +00:00
Michael R Sweet f2d2d347e9 Fix configure script and configh.in...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1448 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-04-27 17:00:23 +00:00
Michael R Sweet ff3295f036 Handle WM_ACTIVATEAPP message under WIN32, using GetAsyncKeyState() for
all of the key and button states in FLTK.

SunOS 4.x changes (check for <sys/stdtypes.h> and don't rely on
realloc(NULL, size) working - this doesn't work on a lot of platforms!)

Fix nesting of #ifdefs in vsnprintf.c - the C++ wrapper stuff wasn't
being included outside the checks for the individual functions...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1444 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-04-27 14:39:27 +00:00
Michael R Sweet d3afe9c10a Don't use GCC c++ or g++ compiler to build programs, use gcc instead.
Some more anti-warning stuff...

Added --disable-gl option to disable OpenGL support + check.

Added code to stop the configuration if X11 could not be found.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1441 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-04-25 13:34:43 +00:00
Michael R Sweet 022ba3679f AIX changes...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1430 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-04-13 19:13:14 +00:00
Michael R Sweet 3af11190f8 Check for the <GL/gl.h> header file before looking for the OpenGL or
Mesa libraries.  This should eliminate all of the reports we're getting
about missing header files...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1379 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-02-21 21:37:30 +00:00
Michael R Sweet 5cade5e89a Added HP compiler option.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1370 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-02-16 13:35:28 +00:00
Michael R Sweet 86b5507486 Configure script changes to support man pages, HTMLDOC, AIX/QNX with
strings.h, etc.

Add check for strings.h in fluid/factory.cxx.

Add directories and man page rules to makeinclude.in

Rename man page sources; these are formatted to the correct extensions.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1368 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-02-12 15:12:14 +00:00
Michael R Sweet 94788c4628 Copyright 2001.
FLTK 1.0.11.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1356 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-01-22 15:13:41 +00:00