Re: OpenGL, Objective-C++, and C++
Re: OpenGL, Objective-C++, and C++
- Subject: Re: OpenGL, Objective-C++, and C++
- From: Troy Stephens <email@hidden>
- Date: Mon, 5 Jul 2004 22:23:43 -0700
On Jul 5, 2004, at 9:28 PM, Jesse Thompson wrote:
Just a quick question... I'm writing a GUI frontend in Objective-C++,
and then doing all of my graphics work in C++ classes. Is it going to
be possible for my C++ code / classes to talk to the Cocoa window? In
other words, I would like to keep all of the interface coding in
Objective-C++, but then have all of my graphics work done in C++ and
in C++ classes, but have that graphics work communicate with the GUI's
NSOpenGLView window. So is that doable?
No problem there. Just have your GL view's -drawRect: method send
whatever C++ messages invoke your GL rendering calls.
Troy Stephens
Cocoa frameworks, Apple
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.