[SDL] Cocoa window menus in 1.3

Rhythmic Fistman rfistman at gmail.com
Sun Jul 30 13:36:34 PDT 2006


Sam Lantinga disse:

> I have a nib-less SDLmain-less Cocoa setup in SDL 1.3, and I'm implementing
> keyboard support now.  However, as soon as I take full control over the key
> input, the window shortcuts in the menu will no longer work.
>
> So my question is, should I put up a window menu for the default SDL app?
> Should it respond to the keyboard shortcuts?  Should it also pass those
> keys to the application?
>
> Discussion welcome! :)

My vote goes to the osx version having a trivial/empty libSDLmain.
Any chance of the "SDL must own main" problem being resolved for 1.3?




More information about the SDL mailing list