OpenGL and Carbon Controls in the same Window
Hey folks, can anyone direct me to some information that can get me on my way to mix an OpenGL view and Carbon Controls in the same window? I've got the basis of my game set up in C++ and I want to build a simple editor so that I can add elements and modify values of my game elements.
I'm sure a few of you would recommend to use Cocoa, but is there a way I can use my static libs (some of them which use Carbon API calls) with a Cocoa application without having to modify the C++ lib?
t.
I'm sure a few of you would recommend to use Cocoa, but is there a way I can use my static libs (some of them which use Carbon API calls) with a Cocoa application without having to modify the C++ lib?
t.
You can use AGL_BUFFER_RECT to restrict your context to drawing only in a portion of the window.
Carbon and Cocoa mix happily in general terms, but not so happily in terms of GUI within a window. AGL contexts are also completely different beasts to NSGL contexts (though they each have a CGL context underneath).
Carbon and Cocoa mix happily in general terms, but not so happily in terms of GUI within a window. AGL contexts are also completely different beasts to NSGL contexts (though they each have a CGL context underneath).
Possibly Related Threads...
| Thread: | Author | Replies: | Views: | Last Post | |
| Suggestions for controls in a tank driving game | iamflimflam1 | 0 | 1,618 |
Oct 7, 2010 03:33 AM Last Post: iamflimflam1 |
|
| Advice on coding of On-Screen Controls ( Joystick and multiple buttons) | Elphaba | 5 | 2,637 |
Aug 10, 2009 11:02 PM Last Post: Elphaba |
|
| C commands in a Carbon window. | mikey | 4 | 2,698 |
May 8, 2009 12:17 PM Last Post: mikey |
|
| No window focus in Carbon app on 10.5 | withnail | 3 | 3,433 |
Jan 9, 2008 02:25 PM Last Post: OneSadCookie |
|
| Carbon Opengl | clapton541 | 9 | 6,174 |
Mar 25, 2007 08:54 PM Last Post: AnotherJake |
|

