Commit Graph

11779 Commits

Author SHA1 Message Date
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
Michael R Sweet
660cc7cfcc The README file had a bad link for the documentation, and had some errors
in the compilation instructions.


git-svn-id: file:///fltk/svn/fltk/trunk@252 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-01-27 14:48:18 +00:00
Michael R Sweet
e8b804cade Updated Makefile for shared libraries (wasn't copying both files).
Added symlink for FL->Fl mapping under UNIX.


git-svn-id: file:///fltk/svn/fltk/trunk@251 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-01-27 14:44:32 +00:00
Michael R Sweet
92ab051e21 Updated symbols image, and fixed a few more typos.
git-svn-id: file:///fltk/svn/fltk/trunk@250 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-01-27 14:24:00 +00:00
Bill Spitzak
59c96f5463 Fixes to documentation.
Restored the lines drawn around symbols, it uses fl_color_average to
pick a dark line color that is still deactivatable.  Requested by CE.


git-svn-id: file:///fltk/svn/fltk/trunk@249 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-01-27 08:45:11 +00:00
Michael R Sweet
7e0bd92469 The about dialog was too small.
git-svn-id: file:///fltk/svn/fltk/trunk@248 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-01-26 22:19:33 +00:00
Michael R Sweet
b8d34c3d4b Lots of little GUI tweeks, capitalization changes, copyright update, etc.
git-svn-id: file:///fltk/svn/fltk/trunk@247 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-01-26 21:59:41 +00:00
Michael R Sweet
c3a31ce44a Updated WIN32 clipboard file to be in the root directory to allow for
shared cut/paste.


git-svn-id: file:///fltk/svn/fltk/trunk@246 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-01-26 21:40:28 +00:00
Michael R Sweet
53d39cc6c0 Applied a navigation bug fix from Bill.
git-svn-id: file:///fltk/svn/fltk/trunk@245 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-01-26 21:37:14 +00:00
Michael R Sweet
b983b285cc Lots of documentation fixes, and added a new image for the Fluid chapter.
git-svn-id: file:///fltk/svn/fltk/trunk@244 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-01-26 21:36:02 +00:00
Michael R Sweet
43a4c224ef Commented out Help/Manual menu item since Help isn't implemented yet.
git-svn-id: file:///fltk/svn/fltk/trunk@243 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-01-26 15:58:25 +00:00
Michael R Sweet
c53f76f6b4 Updated copyright notice in FLUID.
Switched File/Open and Edit/Overlay shortcuts.


git-svn-id: file:///fltk/svn/fltk/trunk@242 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-01-25 22:05:38 +00:00