Re: writing a new GUI environment
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