• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: writing a new GUI environment
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Re: writing a new GUI environment
  • Next by Date: Re: How to know when memory pages are swapped?
  • Previous by thread: Re: writing a new GUI environment
  • Next by thread: SCDynamicStore ConsoleUser change callback not working on Tiger?
  • Index(es):
    • Date
    • Thread