Commit Graph

319 Commits

Author SHA1 Message Date
Michael R Sweet
baaa7760a0 CubeView.h instead of CubeView.hpp
test/glpuzzle.cxx instead of test/glut.cxx


git-svn-id: file:///fltk/svn/fltk/trunk@335 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-02-23 16:32:46 +00:00
Michael R Sweet
97d0c296c3 Added CubeView to the workspace file.
Added OpenGL library to CubeView project file.


git-svn-id: file:///fltk/svn/fltk/trunk@334 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-02-23 16:16:00 +00:00
Michael R Sweet
6abe8972ae Added CubeView demo project file.
git-svn-id: file:///fltk/svn/fltk/trunk@333 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-02-23 16:08:52 +00:00
Michael R Sweet
209f38157b Added shell commands to create symbolic links for all .H header files in
the FL directory.  This allows any combination of Fl/FL and .H/.h.


git-svn-id: file:///fltk/svn/fltk/trunk@332 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-02-23 15:37:19 +00:00
Michael R Sweet
1c32b0e995 Fixed bad links.
git-svn-id: file:///fltk/svn/fltk/trunk@331 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-02-23 14:18:56 +00:00
Michael R Sweet
6bbeac5bd7 fl_ask.H didn't include Enumerations.H, so the DLL stuff wasn't defined.
git-svn-id: file:///fltk/svn/fltk/trunk@330 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-02-23 14:03:26 +00:00
Michael R Sweet
39b84309f0 Fix from Bill - Fl_Choice didn't handle NULL menu items.
git-svn-id: file:///fltk/svn/fltk/trunk@329 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-02-23 14:01:17 +00:00
Michael R Sweet
912a02144a Reenabled JPEG compression (now works).
git-svn-id: file:///fltk/svn/fltk/trunk@328 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-02-22 22:17:48 +00:00
Michael R Sweet
4488dcf505 Added missing GIF for CubeView demo.
git-svn-id: file:///fltk/svn/fltk/trunk@327 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-02-22 22:13:56 +00:00
Michael R Sweet
20da6861f2 Removed unused "FL_IMPORT" definition.
git-svn-id: file:///fltk/svn/fltk/trunk@326 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-02-22 22:10:14 +00:00
Michael R Sweet
6139e446a6 Removed old fl_draw_returnarrow() code that wasn't getting used.
git-svn-id: file:///fltk/svn/fltk/trunk@325 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-02-22 22:09:17 +00:00
Michael R Sweet
6f61d8f239 Missing dependencies...
git-svn-id: file:///fltk/svn/fltk/trunk@324 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-02-22 21:52:17 +00:00
Michael R Sweet
fea9a2db45 Makefile didn't have a .cxx to .o rule.
git-svn-id: file:///fltk/svn/fltk/trunk@323 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-02-22 21:50:16 +00:00
Michael R Sweet
8b5f73c23c Minor typo in configure script (== instead of =)
git-svn-id: file:///fltk/svn/fltk/trunk@322 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-02-22 21:42:54 +00:00
Michael R Sweet
636b6de26d Added CubeView source files.
Added CubeView to the makefile and demo.menu.


git-svn-id: file:///fltk/svn/fltk/trunk@321 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-02-22 21:33:55 +00:00
Michael R Sweet
df01cba124 Public/private status was not honored for menu items.
git-svn-id: file:///fltk/svn/fltk/trunk@320 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-02-22 21:20:30 +00:00
Michael R Sweet
f32ecc47ba fl_elapsed() needs to be called before fl_timeout[] is initialized.
git-svn-id: file:///fltk/svn/fltk/trunk@319 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-02-22 21:19:19 +00:00
Michael R Sweet
08303a1bfd Updated makeinclude for Cygnus - fix from Rick Sayre.
git-svn-id: file:///fltk/svn/fltk/trunk@318 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-02-22 21:16:21 +00:00
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