Michael R Sweet
30e8153ef2
Updated dist to initialize to INT_MAX (2^31 - 1) instead of UINT_MAX
...
(2^32-1).
git-svn-id: file:///fltk/svn/fltk/trunk@317 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-02-22 21:11:25 +00:00
Michael R Sweet
1bc5accffe
Updated demo program to append d.exe or .exe to end of command name and
...
not the options...
git-svn-id: file:///fltk/svn/fltk/trunk@316 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-02-22 21:09:13 +00:00
Michael R Sweet
767cad1311
Workaround for VC++ 4.0 bug - can't initialize a pointer to a function
...
in the declaration...
git-svn-id: file:///fltk/svn/fltk/trunk@315 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-02-22 21:01:59 +00:00
Michael R Sweet
28d2778032
Added missing Fl_Color casts.
...
git-svn-id: file:///fltk/svn/fltk/trunk@314 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-02-22 21:01:03 +00:00
Michael R Sweet
e23a5718ae
Call to atan2() needs (float) cast for arguments because HP overloads
...
atan2() [isn't that a violation of ANSI C/C++???]
git-svn-id: file:///fltk/svn/fltk/trunk@313 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-02-22 20:58:23 +00:00
Michael R Sweet
63c0b655bb
Updated ifdef to be __hpux instead of hpux...
...
git-svn-id: file:///fltk/svn/fltk/trunk@312 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-02-22 20:54:44 +00:00
Michael R Sweet
c33c7ff0b8
Now don't enable XDBE under SunOS or IRIX 6.3 or earlier.
...
Added HP C++ compiler warning options.
Added HP-UX check with (v)snprintf() - HP-UX has them, but doesn't have
prototypes...
git-svn-id: file:///fltk/svn/fltk/trunk@311 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-02-22 20:53:35 +00:00
Michael R Sweet
74ea22b252
Added ln -s for DSOs - must have gotten dropped in a previous update?
...
git-svn-id: file:///fltk/svn/fltk/trunk@310 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-02-22 18:05:20 +00:00
Michael R Sweet
b737731013
Fixed array_name() bug - now correctly handles arrays in different classes
...
with the same name.
git-svn-id: file:///fltk/svn/fltk/trunk@308 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-02-19 16:21:50 +00:00
Michael R Sweet
1a135b0424
Updated Fl::x(), ::y(), ::w(), and ::h() to account for WIN32 trays.
...
Updated menu code to account for tray locations.
git-svn-id: file:///fltk/svn/fltk/trunk@307 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-02-19 15:34:09 +00:00
Michael R Sweet
d91bdb6022
Updated docos for FL_DLL usage.
...
git-svn-id: file:///fltk/svn/fltk/trunk@306 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-02-19 15:11:34 +00:00
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