Commit Graph

7 Commits

Author SHA1 Message Date
Michael R Sweet
d96fa88743 Fix WIN32 build.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1922 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-01-09 15:23:11 +00:00
Matthias Melcher
1977f13908 Updated Win32 MS-VisualC Workspace to run FLTK "out of the box":
Donload the archive, unpack, start VisualC and press F5 to compile
and run the demo and all other test programs... .

browser: wouldn't find sample file
CubeView: calls fluid in custom build step, unintialised position
fast_slow: build calls fluid
forms: added plastic buttons (cute)
inactive: build calls fluid
keyboard: build calls fluid, added mousewheel
mandelbrot: build calls fluid
resize: build calls fluid
radio: build calls fluid
shiny: build calls fluid
tabs: build calls fluid
valuators: build calls fluid, tiny scrollbar bug
demo: debug on VC finds correct menu file


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1796 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-12-01 01:54:30 +00:00
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
ca6a54d30d Fixed include path for CubeView project.
git-svn-id: file:///fltk/svn/fltk/trunk@337 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-02-23 21:31:21 +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