• 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: Shawn Erickson <email@hidden>
  • Date: Wed, 4 May 2005 13:46:52 -0700


On May 4, 2005, at 1:36 PM, Erich Ocean wrote:

Mac OS X supports three (or perhaps four or five) distinct GUI enviroments: Carbon, Cocoa, Java, and perhaps QuickTime and OpenGL.

OpenGL => NSGL, AGL, CGL or GLUT (<http://developer.apple.com/qa/ qa2001/qa1269.html>)


If I wanted to write a new GUI environment not layered on any of these, what would the appropriate API be? In other words, is it possible to write a GUI application without linking in anything but, say, Quartz or OpenGL (no Carbon, Cocoa, Java or QuickTime)?

I understand that I would have to role everything myself, which is fine, because that's the point of the exercise. This isn't for end users, it's for me. I want to have a go at writing my own app framework that uses as little Apple code as possible on Mac OS X.

Any help or ideas is appreciated. From what I can tell, the only supported way to create e.g. a window, is to use Carbon, Cocoa, or Java. I don't mind using SPI interfaces if need be; I just need to some pointers on what, exactly, I would need to interface with. Is is just the window server, or is there something else?

To display windows and other standard widgets you will need to use some framework that has the concept of a window, Quartz and OpenGL don't have that directly themselves (at least not in the way you need).


If you want to take over the whole the screen then you could just use OpenGL (CGL) and Quartz and do all your own drawing.

-Shawn
_______________________________________________
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


  • Follow-Ups:
    • Re: writing a new GUI environment
      • From: Erich Ocean <email@hidden>
References: 
 >writing a new GUI environment (From: Erich Ocean <email@hidden>)

  • Prev by Date: writing a new GUI environment
  • Next by Date: Re: writing a new GUI environment
  • Previous by thread: writing a new GUI environment
  • Next by thread: Re: writing a new GUI environment
  • Index(es):
    • Date
    • Thread