fltk4D 0.1

Anders F Björklund afb at algonet.se
Sun Sep 30 14:21:08 PDT 2007


Micke wrote:

> fltk4D is a binding to the FLTK gui library.
> http://dronten.googlepages.com/fltk4d

If you make a few adjustments* to it, it will also
work with GDC/rebuild - and with Mac OS X (Carbon):
http://www.algonet.se/~afb/d/fltk4d_helloworld_mac.png
http://www.algonet.se/~afb/d/fltk4d_table_mac.png

* A minor change to give the full module name for
"FLTK.eventKey", plus avoid linking to X11 on Mac.

You also want to avoid including "fltk4d.cxx" in
the FLTK libraries, but put them in a separate lib.
That way users can use the standard fltk libraries,
and just add two fltk4d libraries (one C++, one D)

Otherwise FLTK is looking "as lovely as ever" ;-)
And as opposed to FOX, it _is_ native on the Mac.
I'll send you a patch, that will build Universal
binaries and use `fltk-config` for the libraries...

--anders


PS: You know there is a native D port of FLTK, yes ?
http://svn.easysw.com/public/fltk/fltk/branches/branch-D-1.1/

PPS: As you suspected, it requires the 1.1.8 fltk -
recommend making it work with the stable version ?



More information about the Digitalmars-d-announce mailing list