• Advertisement
Sign in to follow this  

Remove the Menu on mac os x - glut app

This topic is 4052 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hello. I have ported a game to mac ox x - i used xcode to write the code and GLUT for making the window and other related stuf for linking with opengl. Now i have a menu when i start my app APPName FILE EDIT WINDOW on the Mac tab. How can i remove that menu. Is it a glut specific command or a CARBON xcode specific command. And so whats the command. Thanks!

Share this post


Link to post
Share on other sites
Advertisement
Every Macintosh application has a menu bar, even those in "full screen" (it's just hidden).

Try starting GLUT in fullscreen mode.

Share this post


Link to post
Share on other sites
I dont want to start in full screen - but at least can i remove the FILE menu - only retain the appName menu - all others can i remove them?

Share this post


Link to post
Share on other sites
Yes. If there's any .nib files included in your project, you can edit them in Interface Builder to remove the other menus.

If not, I think that's the default menu loadout in Carbon, so you'd have to write some code to remove those menus manually.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement