www.digitalmars.com         C & C++   DMDScript  

D.gnu - Mac GUI status

reply "Ben Hinkle" <bhinkle mathworks.com> writes:
What's the status on using Mac Carbon APIs? Is there a set of translated
declaration files I can use? I've been working on this MinWin thing and I've
been writing the Windows, Motif and GTK backends at the same time and I
think I want to include Mac if possible so that I don't fundamentally mess
up the architecture. I'd like to use as much of the new OS X features as
possible - like Quartz etc.

I guess I'll also need any Mac-specific pointers on using gdc. Is there a
mac-faq or should I just use the newsgroup history?

-Ben
Jan 17 2005
parent =?ISO-8859-1?Q?Anders_F_Bj=F6rklund?= <afb algonet.se> writes:
Ben Hinkle wrote:

 What's the status on using Mac Carbon APIs? Is there a set of translated
 declaration files I can use? I've been working on this MinWin thing and I've
 been writing the Windows, Motif and GTK backends at the same time and I
 think I want to include Mac if possible so that I don't fundamentally mess
 up the architecture. I'd like to use as much of the new OS X features as
 possible - like Quartz etc.
I got the "Hello World" up for Mac OS X, using Carbon and GDC: http://www.algonet.se/~afb/d/carbon.d Right now, it has all of <Carbon/Carbon.h> in a single macosx.carbon It could be split into several modules, if the module grows too much... You can use Quartz and so from Carbon, without messing with Objective-C. I really don't think that one needs *everything* from Carbon.framework ? Will do a Xcode Howto, and perhaps port a few more functions if needed. --anders
Jan 18 2005