The SDL forums have moved to discourse.libsdl.org.
This is just a read-only archive of the previous forums, to keep old links working.


SDL Forum Index
SDL
Simple Directmedia Layer Forums
OSX menus
Chris Ball
Guest

Hi, thanks for your help before. My app is running. (mostly)

I've been going a little nuts trying to put the original menus back in to my
carbon osX app. How is this done? When I enable SDL_USE_NIB_FILE and
supply a .nib, I get an error saying: Unable to load nib file: main, exiting.
I'm pretty clueless when it comes to cocoa and trial-and-error is going
nowhere fast.

There's also no response to cmd-Q, shouldn't that be handled by the cocoa
framework? It looks as though the input events are intercepted prior to
reaching cocoa's handlers. How do I receive the menu events?

If I can get past this last dreg of cocoa I should be able to see the light at
the bottom of the cup.

Chris