fltk/borlandc
Michael R Sweet 46148181bd BC++ changes.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2490 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-07-08 14:58:49 +00:00
..
arc.bpf
arc.bpr
arc.res
ask.bpf
ask.bpr
ask.res
bitmap.bpf
bitmap.bpr
bitmap.res
boxtype.bpf
boxtype.bpr
boxtype.res
browser.bpf
browser.bpr
browser.res
button.bpf
button.bpr
button.res
buttons.bpf
buttons.bpr
buttons.res
checkers.bpf
checkers.bpr
checkers.res
clock.bpf
clock.bpr
clock.res
colbrowser.bpf
colbrowser.bpr
colbrowser.res
color_chooser.bpf
color_chooser.bpr
color_chooser.res
config.h BC++ changes. 2002-07-08 14:58:49 +00:00
cube.bpf
cube.bpr
cube.res
cursor.bpf
cursor.bpr
cursor.res
curve.bpf
curve.bpr
curve.res
demo.bpf
demo.bpr
demo.menu
demo.res
doublebuffer.bpf
doublebuffer.bpr
doublebuffer.res
editor.bpf
editor.bpr
editor.res
file_chooser.bpf
file_chooser.bpr
file_chooser.res
fltk_app_template.bpf
fltk_app_template.bpr
fltk_app_template.res
fltk.bpf
fltk.bpg
fltk.bpr
fltk.dsk
fltklib.bpf
fltklib.bpr
fluid.bpf
fluid.bpr
fluid.res
fonts.bpf
fonts.bpr
fonts.res
forms.bpf
forms.bpr
forms.res
fractals.bpf
fractals.bpr
fractals.res
fullscreen.bpf
fullscreen.bpr
fullscreen.res
hello.bpf
hello.bpr
hello.res
help.bpf
help.bpr
help.res
iconize.bpf
iconize.bpr
iconize.res
image.bpf
image.bpr
image.res
input.bpf
input.bpr
input.res
keyboard.bpf
keyboard.bpr
keyboard.res
label.bpf
label.bpr
label.res
line_style.bpf
line_style.bpr
line_style.res
menubar.bpf
menubar.bpr
menubar.res
message.bpf
message.bpr
message.res
minimum.bpf
minimum.bpr
minimum.res
navigation.bpf
navigation.bpr
navigation.res
output.bpf
output.bpr
output.res
overlay.bpf
overlay.bpr
overlay.res
pack.bpf
pack.bpr
pack.res
pixmap_browser.bpf
pixmap_browser.bpr
pixmap_browser.res
pixmap.bpf
pixmap.bpr
pixmap.res
README
resizebox.bpf
resizebox.bpr
resizebox.res
scroll.bpf
scroll.bpr
scroll.res
shape.bpf
shape.bpr
shape.res
subwindow.bpf
subwindow.bpr
subwindow.res
symbols.bpf
symbols.bpr
symbols.res
tile.bpf
tile.bpr
tile.res
tiled_image.bpf
tiled_image.bpr
tiled_image.res

Compilation of FLTK 1.1rc2 in Borland C++ Builder 6.0
(by Alexey Parshin alexeyp@m7.tts-sf.com)

FLTK library compile:
---------------------
0) Open the project group fltk.bpg. It contains all the other projects.
1) Create the directory ../obj (obj in fltk)
2) During the compilation of fltklib project I had two compile
   errors in scandir_win32.c. Just add the required type conversions:

   Line 46:
   findIn = (char *)malloc(len+5);

   Line 75:
	struct dirent **tempDir = (struct dirent **) calloc(sizeof(struct dirent*), NDir+33);
3) For some reason BCB 6.0 doesn't like the word 'DIRECTORY' so I had to replace
   it everywhere in source code and examples with '_DIRECTORY'. The case is
   very important. For instance (file Fl_File_Icon.cxx):

      icon = new Fl_File_Icon("*", Fl_File_Icon::DIRECTORY);

      replaced with

      icon = new Fl_File_Icon("*", Fl_File_Icon::_DIRECTORY);


FLTK examples compile:
---------------------
0) All the examples create an empty console window when start. I know how to
   avoid this window but it requires the modification of the examples. So I leave
   it on FLTK authors.
1) File connect.cxx doesn't support Windows - example is not generated.
2) The colbrowser example uses the color map file which is not presented on
   Windows. If you modify this example so it uses the file stolen from Linux
   you can test it.
3) The (cube, fullscreen, fractals) examples use GL which I don't have. For this 
   reason I was unable to test how it works with GL.

Your own projects in BCB 6.0:
----------------------------
1) Make sure you have 'Treat enums as integers' option checked (in project options).
2) To make it simple you can take fltk_app_template.bpr and replace bitmap.cxx in
   this project with your files.