Commit Graph

101 Commits

Author SHA1 Message Date
Michael R Sweet
b1d00ce478 Add missing project file for threads demo under VC++.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1867 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-12-17 15:40:08 +00:00
Michael R Sweet
ba2be02ab2 FLTK 2.0 threading support under FLTK 1.1. Needs porting to OSX.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1819 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-12-06 22:16:49 +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
4b23d4c6d5 VC++ fixes, plus add new tiled_image project file.
Use the plastic box type for the tiled_image demo.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1783 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-11-29 00:24:43 +00:00
Michael R Sweet
79d6a32be9 Add new plastic box types (kindof a shiny translucent box type...)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1781 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-11-28 21:37:35 +00:00
Michael R Sweet
13e7d76397 WIN32 fixes for the new image stuff...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1705 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-11-19 20:59:59 +00:00
Michael R Sweet
f31fe66f8c Put all OpenGL stuff back in FLTKDLL; no separate shared
libraries under WIN32 since WIN32 is so braindead about
export/import crap anyways...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1642 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-10-19 16:26:51 +00:00
Michael R Sweet
8310941985 Check for png_set_tRNS_to_alpha() in configure script.
Add image and documentation defines to all of the config.h files.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1629 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-10-01 16:49:29 +00:00
Michael R Sweet
9208e9d007 Windows doesn't have case-sensitive filenames, so we can't have two
fl_file_chooser.cxx's...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1620 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-09-30 12:30:13 +00:00
Michael R Sweet
e7f3ad8691 Updates for 1.1.0b2...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1615 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-09-29 21:17:17 +00:00
Michael R Sweet
91b72d0918 Update VC++ project files.
Add support for FLTK_DOCDIR env var. to FLUID.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1588 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-09-23 13:08:03 +00:00
Michael R Sweet
e864789db9 Fix Visual C++ projects.
One more fix for makesrcdist...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1578 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-08-19 00:14:12 +00:00
Michael R Sweet
9ab0bb195e WIN32 updates to make the DLL project work again...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1563 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-08-06 23:51:39 +00:00
Michael R Sweet
5994addeca Fixed tooltips under WIN32 - no more toolbar buttons...
Fl_Group::handle() didn't pass FL_RELEASE events to
Fl_Browser_ and similar subclasses of Fl_Group; updated to
pass only to widget that should receive the event.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1547 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-08-03 15:48:20 +00:00
Michael R Sweet
0771e7cc7d Update WIN32 projects and config file.
Fix sign of Fl::e_dy to match screen coordinate directions under WIN32.

Note: tooltips not working under WIN32...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1546 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-08-03 02:28:32 +00:00
Michael R Sweet
09f987eeb1 Separate test for GLU and GL...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1449 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-04-30 17:17:01 +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
Michael R Sweet
94788c4628 Copyright 2001.
FLTK 1.0.11.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1356 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-01-22 15:13:41 +00:00
Michael R Sweet
a45a6308d0 strcasecmp() for FLUID under AIX.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1336 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2000-11-20 15:44:19 +00:00
Michael R Sweet
aa9f41e7d8 Hopefully the last of the easysw.com -> fltk.org changes.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1178 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2000-06-07 12:11:53 +00:00
Michael R Sweet
e641d6eb49 Forgot to add fl_compose.cxx to DLL project.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1169 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2000-06-05 21:28:39 +00:00
Michael R Sweet
a6abbc5462 Added line_style project to FLTK workspace.
Updated demo project dependencies.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1167 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2000-06-05 21:12:28 +00:00
Michael R Sweet
41e05ef76c Added project file for line_style demo.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1166 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2000-06-05 21:10:12 +00:00
Michael R Sweet
d7f026e02e fl_line_style() used "." instead of "->" for setting the pen.
Added fl_line_style.cxx to the static and DLL library projects.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1131 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2000-05-17 21:16:42 +00:00
Michael R Sweet
4b561b6e90 Updated copyright notices for all of the 1.0.x files.
Updated the configure script for *BSD and GCC 2.95 (-fno-exceptions)

Added install rule to documentation directory.

Dumped old packages directory; added traditional RPM spec file and EPM
list file (that replace all of the packages stuff)

The FLUID man page is now "fluid.1" for the formatted page and "fluid.man"
for the non-formatted page, since only IRIX uses pack'd formatted man pages.

Whew!


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1090 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2000-04-25 22:17:00 +00:00
Michael R Sweet
bf5f55c860 Updated the VC++ project file to include fl_compose.cxx.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1030 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2000-03-06 21:19:26 +00:00
Michael R Sweet
30ce47ef69 New WSAAsyncSelect code for WIN32 Fl::add_fd() support.
Fixes for Fl_Scrollbar - pushed_ bits wrong...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@965 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-12-29 03:14:41 +00:00
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
b13c3932e4 Removed references to JPEG library in docos and config files. Not needed
(except for jpeg_image.cxx, which isn't built by default).


git-svn-id: file:///fltk/svn/fltk/trunk@361 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-03-04 18:11:37 +00:00
Michael R Sweet
38d8473088 Added FLTK static library dependency to CubeView project.
git-svn-id: file:///fltk/svn/fltk/trunk@339 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-02-25 12:54: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
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
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
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
2c57498bf1 Updated for new FD stuff and added DLL project.
git-svn-id: file:///fltk/svn/fltk/trunk@199 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-01-07 19:06:38 +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
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
17a80e000c Removed Style demo from project files.
git-svn-id: file:///fltk/svn/fltk/trunk@127 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-12-06 14:46:04 +00:00
Michael R Sweet
8a5883e03b Windows has vsprintf()...
git-svn-id: file:///fltk/svn/fltk/trunk@80 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-11-09 14:11: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
9f5070d459 Updated Visual C++ config.h file.
git-svn-id: file:///fltk/svn/fltk/trunk@58 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-11-05 20:10:31 +00:00
Michael R Sweet
53fcfae9cb Updated autoconf files to support shared libraries and JPEG library.
Updated README files.
Removed old files.


git-svn-id: file:///fltk/svn/fltk/trunk@24 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1998-10-20 16:41:24 +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