Re: writing a new GUI environment
Re: writing a new GUI environment
- Subject: Re: writing a new GUI environment
- From: Michael Buice <email@hidden>
- Date: Wed, 4 May 2005 18:37:28 -0500
On May 4, 2005, at 4:45 PM, email@hidden wrote:
Does anyone know how Apple's X implementation is done? It's not a
Carbon or Cocoa app AFAIK...
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
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 (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden