Commit Graph

11 Commits

Author SHA1 Message Date
Michael R Sweet
6c25ba6d73 Added fl_add_idle.cxx to project files.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@556 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-04-23 19:42:44 +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
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
02646a21dc Changed scandir_win32.cxx to scandir.c.
git-svn-id: file:///fltk/svn/fltk/trunk@151 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-12-08 21:02:20 +00:00
Michael R Sweet
7834c1c086 Fixed project file for Windows.
git-svn-id: file:///fltk/svn/fltk/trunk@147 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-12-07 22:10:35 +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