fltk/src
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
..
cmap.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
d1_mask.xbm Initial revision 1998-10-06 18:21:25 +00:00
d1.xbm Initial revision 1998-10-06 18:21:25 +00:00
dump_compose.c Initial revision 1998-10-06 18:21:25 +00:00
ew_mask.xbm Initial revision 1998-10-06 18:21:25 +00:00
ew.xbm Initial revision 1998-10-06 18:21:25 +00:00
fastarrow.h Initial revision 1998-10-06 18:21:25 +00:00
filename_absolute.cxx Didn't need to define a replacement for getcwd() under Windows... 1999-01-13 16:56:05 +00:00
filename_expand.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
filename_ext.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
filename_isdir.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
filename_list.cxx Updated ifdef to be __hpux instead of hpux... 1999-02-22 20:54:44 +00:00
filename_match.cxx Updated file chooser and matching from Bill (better for WIN32). 1999-01-07 21:22:28 +00:00
filename_setext.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
Fl_abort.cxx I hope this is a fix for vsnprintf on HPUX. It declares it but does 1999-03-05 05:55:27 +00:00
Fl_add_idle.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
Fl_Adjuster.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
fl_arc.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
fl_arci.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
Fl_arg.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
fl_ask.cxx I hope this is a fix for vsnprintf on HPUX. It declares it but does 1999-03-05 05:55:27 +00:00
Fl_Bitmap.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
Fl_Box.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
fl_boxtype.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
Fl_Browser_.cxx Small fixes suggested by Guillaume Nodet 1999-03-09 06:46:36 +00:00
Fl_Browser_load.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
Fl_Browser.cxx DOH! Fixed even more typos in my fix for Fl_Browser::item_height. 1999-03-13 20:35:33 +00:00
Fl_Button.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
fl_call_main.c Changes needed to get FLTK to compile on Borland C++ 5 under Windows. I 1999-03-29 17:39:46 +00:00
Fl_Chart.cxx Updated Fl_Chart to allocate entries dynamically. The previous "scrolling" 1999-02-01 20:15:00 +00:00
Fl_Check_Button.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
Fl_Choice.cxx Added clipping suggested by Dmitry Potapov 1999-03-16 08:51:02 +00:00
Fl_Clock.cxx Updated README and distribution packages to use v1.0.1. 1999-03-25 15:26:44 +00:00
fl_cmap.h Initial revision 1998-10-06 18:21:25 +00:00
Fl_Color_Chooser.cxx Contributed code for more accurate item_height() in Fl_Browser. 1999-03-07 08:51:44 +00:00
fl_color_win32.cxx More color fixes from Bill - contrast function not right, and moved 1999-01-13 15:56:23 +00:00
fl_color.cxx Patch from Carl - inactive and contrast functions. 1999-01-25 20:43:05 +00:00
Fl_Counter.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
fl_cursor.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
fl_curve.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
Fl_cutpaste_win32.cxx Didn't like yesterday's fix, I changed it so that zero-length selections 1999-03-02 07:03:15 +00:00
Fl_cutpaste.cxx Didn't like yesterday's fix, I changed it so that zero-length selections 1999-03-02 07:03:15 +00:00
Fl_Dial.cxx Changes to dial so that counter-clockwise motion is supported if you 1999-03-10 08:17:43 +00:00
fl_diamond_box.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
Fl_display.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
Fl_Double_Window.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
fl_draw_image_win32.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
fl_draw_image.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
fl_draw_pixmap.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
fl_draw.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
fl_engraved_label.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
fl_file_chooser.cxx Updated file chooser and matching from Bill (better for WIN32). 1999-01-07 21:22:28 +00:00
fl_font_win32.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
fl_font.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
Fl_Font.H Updated headers to support WIN32 and OS/2 DLLs. 1999-02-16 22:00:04 +00:00
Fl_get_key_win32.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
Fl_get_key.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
Fl_get_system_colors.cxx More color fixes from Bill. 1999-01-13 15:57:38 +00:00
Fl_Gl_Choice.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
Fl_Gl_Choice.H Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
Fl_Gl_Overlay.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
Fl_Gl_Window.cxx Changes from Luis Ibanez to make it compile under Borland. 1999-03-18 20:04:13 +00:00
Fl_grab.cxx Put Fl::grab() into it's own source file. Rewritten as suggested so that 1999-02-03 08:43:35 +00:00
Fl_Group.cxx Applied a navigation bug fix from Bill. 1999-01-26 21:37:14 +00:00
Fl_Image.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
Fl_Input_.cxx Added "buffer=0" in constructor to avoid purify errors. 1999-03-04 18:09:18 +00:00
Fl_Input.cxx Patch from Bill so that Shift-Tab works on all systems. 1999-01-24 15:28:59 +00:00
fl_labeltype.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
Fl_Light_Button.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
Fl_Menu_.cxx Clears value() when you clear the menu() 1999-03-16 08:44:48 +00:00
Fl_Menu_add.cxx Small fixes suggested by Guillaume Nodet 1999-03-09 06:46:36 +00:00
Fl_Menu_Bar.cxx Fix from Bill - global shortcuts now work for the menubar as well. 1999-01-19 19:05:39 +00:00
Fl_Menu_Button.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
Fl_Menu_global.cxx Fix from Bill - global shortcuts now work for the menubar as well. 1999-01-19 19:05:39 +00:00
Fl_Menu_Window.cxx Put Fl::grab() into it's own source file. Rewritten as suggested so that 1999-02-03 08:43:35 +00:00
Fl_Menu.cxx Contributed code for more accurate item_height() in Fl_Browser. 1999-03-07 08:51:44 +00:00
Fl_Multi_Label.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
Fl_Output.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
fl_oval_box.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
fl_overlay_visual.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
Fl_Overlay_Window.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
fl_overlay.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
Fl_own_colormap.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
Fl_Pack.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
Fl_Pixmap.cxx Patch from Bill - not freeing bitmap array? 1999-02-16 15:10:53 +00:00
Fl_Positioner.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
fl_rect.cxx WIN32 fixes from Dmitry Potapov: 1999-03-04 18:32:14 +00:00
Fl_Repeat_Button.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
Fl_Return_Button.cxx Fixed drawing of return button. 1999-01-19 19:26:46 +00:00
Fl_Roller.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
fl_round_box.cxx Workaround for VC++ 4.0 bug - can't initialize a pointer to a function 1999-02-22 21:01:59 +00:00
Fl_Round_Button.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
fl_rounded_box.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
fl_scroll_area.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
Fl_Scroll.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
Fl_Scrollbar.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
fl_set_font.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
fl_set_fonts_win32.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
fl_set_fonts.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
fl_set_gray.cxx Added missing Fl_Color casts. 1999-02-22 21:01:03 +00:00
fl_shadow_box.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
fl_shortcut.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
fl_show_colormap.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
Fl_Single_Window.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
Fl_Slider.cxx Patch from Dr. Tom Holroyd for fill sliders, seems good to me! 1999-03-03 07:21:28 +00:00
fl_symbols.cxx Removed old fl_draw_returnarrow() code that wasn't getting used. 1999-02-22 22:09:17 +00:00
Fl_Tabs.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
Fl_Tile.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
Fl_Valuator.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
Fl_Value_Input.cxx Contributed code for more accurate item_height() in Fl_Browser. 1999-03-07 08:51:44 +00:00
Fl_Value_Output.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
Fl_Value_Slider.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
fl_vertex.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
Fl_visual.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
Fl_Widget.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
Fl_win32.cxx Changes needed to get FLTK to compile on Borland C++ 5 under Windows. I 1999-03-29 17:39:46 +00:00
Fl_Window_fullscreen.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
Fl_Window_hotspot.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
Fl_Window_iconize.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
Fl_Window.cxx Fixes from Bill: 1999-01-13 15:45:50 +00:00
Fl_x.cxx Fixes for os2x by Alexander Mai 1999-03-15 07:06:46 +00:00
Fl_XColor.H Removed extra "events" target from enumerations.html. 1999-02-16 22:27:52 +00:00
Fl.cxx Fixed fluid bug that caused styles patch to crash when you delete menu item. 1999-03-13 20:07:21 +00:00
forms_bitmap.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
forms_compatability.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
forms_free.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
forms_fselect.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
forms_pixmap.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
forms_timer.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
gl_draw.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
gl_start.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
glut_compatability.cxx Changes from Luis Ibanez to make it compile under Borland. 1999-03-18 20:04:13 +00:00
glut_font.cxx Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
Makefile Changes needed to get FLTK to compile on Borland C++ 5 under Windows. I 1999-03-29 17:39:46 +00:00
mediumarrow.h Initial revision 1998-10-06 18:21:25 +00:00
ns_mask.xbm Initial revision 1998-10-06 18:21:25 +00:00
ns.xbm Initial revision 1998-10-06 18:21:25 +00:00
numericsort.c Added (unsigned) cast to isxyz() calls to get rid of compiler warnings. 1999-03-08 14:53:44 +00:00
scandir_win32.c Yay, change all copyright notices to be 1998-1999. 1999-01-07 19:18:01 +00:00
scandir.c scandir.c used a variable named "new", which is valid ANSI C but 1999-03-09 20:56:54 +00:00
slowarrow.h Initial revision 1998-10-06 18:21:25 +00:00
vsnprintf.c Changes needed to get FLTK to compile on Borland C++ 5 under Windows. I 1999-03-29 17:39:46 +00:00