Re: writing a new GUI environment
site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com On May 4, 2005, at 4:45 PM, darwin-dev-request@lists.apple.com wrote: Does anyone know how Apple's X implementation is done? It's not a Carbon or Cocoa app AFAIK... Michael A. Buice http://soma.uchicago.edu/~mabuice/blog _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... I assume you mean the X11.app which displays X11 windows on Mac OS X. They subclassed the Cocoa NSApplication class as X11Application and started the event loop with an X11ApplicationMain() function which is similar to a standard NSApplicationMain() function, so in that sense I suppose it is a "Cocoa" application, as all the high level stuff is handled by Cocoa. The actual XQuartz server is started as a thread within this. I don't think this helps you any. I played around with the code for awhile to discover all of this for a project I was working on but my coding skills are more in numeric computation. You'll undoubtedly have better luck deciphering stuff: http://www.opensource.apple.com/darwinsource/tarballs/other/ X11ForMacOSXSource-1.0.tar.gz This email sent to site_archiver@lists.apple.com
participants (1)
-
Michael Buice