Commit Graph

11 Commits

Author SHA1 Message Date
Michael R Sweet 3a9d945d07 Use the Multithreaded DLL runtime model for all projects - I haven't found
a system yet that this doesn't work on, and you get smaller executables...

FLUID source needs Windows headers for GetTempPath and MAX_PATH definitions.

Visual C++ complained about the "char **/*argv*/" in CubeMain; added a space
so that */ is not seen.

Include <stdlib.h> to get argc/argv definitions rather than hardcoding
the declarations.  This seems to work in all modes.

Add can_do_overlay() method for WIN32 (seems to work on my TNT card at least)


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1416 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-03-15 22:39:57 +00:00
Carl E. Thompson 81c7d9b215 Changes needed to get FLTK to compile on Borland C++ 5 under Windows. I
compiled this on BC++ 5.0 upgraded to 5.0B via the two monster patches.
I didn't turn on optimization because my version of BC++ doesn't seem to
do much in the way of optimization (FLUID was only 1k smaller when
optimized for size).  VC++ generates smaller code.

The examples that use OpenGL don't work because Borland's linker can't find
"wglShareLists".  I'm sure this is a simple problem, but I don't know how
to fix it.

Borland's C++ compiler won't allow you to call main() from C++, so I had
to add a c function in "fl_call_main.c" to call it so that you don't have
to do that WinMain crap.  However, when I added this file to the Visual C++
project it converted the whole thing from 5.0 format to 6.0 format.  The
files look the nearly identical so I don't think this should be a problem
for 5.0 users, but if it is then you can revert them back to the previous
version and just add this one source file.

Borland really doesn't suck that bad.  It doesn't look as polished as VC++
and it refused to supress some warnings for no reason, but I forgot how
much I liked the feel of Borlands compilers...  Much more intuitive then
MS VC++.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@475 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-03-29 17:39:46 +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 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 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 bbbec0bbfb Updated project files for new FD stuff - need to link with wsock32.lib.
git-svn-id: file:///fltk/svn/fltk/trunk@200 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-01-07 19:08:28 +00:00
Michael R Sweet b95db33f2c Lots of changes:
- Added #defines for Visual C++ to speed up compiles.
    - Added FLTK.DLL project to visualc directory.
    - Added editor project to visualc directory.
    - Added icon() method to Fl_Window class.
    - Implemented xclass() method for WIN32.
    - Fixed extern declaration of fl_send_extra_move in Fl_Menu_Window.cxx.
    - scandir_win32.c needed to include <stdlib.h>.
    - Added fix from Bill for fl_width() bug.
    - Updated fix for Fl_Input to default to FL_DOWN_BOX.
    - Added visible() check for children of Fl_Pack.
    - Added WinMain() function to library.
    - Now show console window in debug mode.
    - Fixed demo.menu and demo.cxx to work under WIN32.


git-svn-id: file:///fltk/svn/fltk/trunk@180 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-01-04 19:25:40 +00:00
Michael R Sweet 0da3a12e6c Updated scandir and pen stuff, plus got rid of ODBC libraries from
project files.


git-svn-id: file:///fltk/svn/fltk/trunk@157 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-12-08 22:08:01 +00:00
Michael R Sweet 6655f6e3e7 Changed files to .cxx in VC++ project files.
Remove /TP options...


git-svn-id: file:///fltk/svn/fltk/trunk@144 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-12-07 13:57:06 +00:00
Michael R Sweet 411cc4d1fc Updated project files.
git-svn-id: file:///fltk/svn/fltk/trunk@62 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-11-05 21:41:54 +00:00
Michael R Sweet f9039b2ae2 Initial revision
git-svn-id: file:///fltk/svn/fltk/trunk@2 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-10-06 18:21:25 +00:00