On Jun 21, 2007, at 4:27 PM, Maarten de Boer wrote: > I think you mean to Cocoa, right?
Oops, yes, of course. > I believe Cocoa is written largely on top of Carbon, especially > for the low-level stuff, so I suppose it should be possible to solve > this problem using Carbon itself... But I am not a Mac expert, so it's > hard to tell... Is there some documentation (other than the source > code) > that explains how the fltk event loop is build upon Carbon? The event system follows pretty much what's in the Apple docs. I am not writing much Apple code myself, so getting the Carbon port going is pretty much verbatim from the Apple documentation with the usual grain of salt. I understand that Carbon as an emulation of OS 9 suspends all events on "formerly CPU intensive" tasks, like moving windows. I did add a flag that allows redraw events to come through during resizes, but I guess that would be the maximum. And I always thought Carbon was written on top of Cocoa, or somewhat parallel using the core services. But I also thought that Cocoa can only be programmed in Objective C which luckily turned out to be a misconception on my side. Matthias ---- http://robowerk.com/ _______________________________________________ fltk-dev mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk-dev
