> Yes, the Carbon code is divided in three sections: __APPLE__, > __APPLE_QD__, and __APPLE_QUARTZ__. The event handling and window > management is done in Carbon __APPLE__ segments. Removing what's > inside __APLE_QD__ will only remove QuickDraw drawing, not event > handling. > > Oh wait, the code is gone already ;-) > > I do not know much about Cocoa, but what you write is exactly how > would eventually do this - probably the only way. None of the > Objective C has to shine through to the FLTK API, right? > > Matthias Right, we could mix it and use the ObjectiveC++ (.mm files) part allowing mixing c++ code with oc code with some limitations, but frankly, as long we can support in good conditions a 100% c++ impl., I'll probably won't bother with OC if possible. if I remember well ; cocoa still relies on (faster) carbon anyway :)
Fabien _______________________________________________ fltk-dev mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk-dev
