New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve OS X integration with menus and Dock actions #11

Closed
mantognini opened this Issue Mar 27, 2011 · 2 comments

Comments

Projects
None yet
1 participant
@mantognini
Member

mantognini commented Mar 27, 2011

See this discussion http://www.sfml-dev.org/forum-fr/viewtopic.php?p=30903#30903 (french) for more details.

  • Define what standard menus should be added
  • Implement those menus
  • Implement Quit action from Dock and menu (see this post)

@ghost ghost assigned mantognini Apr 10, 2011

@mantognini

This comment has been minimized.

Show comment
Hide comment
@mantognini

mantognini Sep 21, 2013

Member

Regarding task 1, I'll add the following menus: Apple (aka Application Menu), File and Window. Here are their components.

AppName >
   About AppName
   --------------------
   Preferences...        [greyed]
   --------------------
   Services >
       / default empty menu /
   --------------------
   Hide AppName      ⌘H
   Hide Others      ⌥⌘H
   Show All
   --------------------
   Quit AppName      ⌘Q


File >
   Close             ⌘W


Window >
   Minimize          ⌘M
   Zoom
   --------------------
   Bring All to Front
   --------------------
   Window #1
   Window #2
   :
   :
Member

mantognini commented Sep 21, 2013

Regarding task 1, I'll add the following menus: Apple (aka Application Menu), File and Window. Here are their components.

AppName >
   About AppName
   --------------------
   Preferences...        [greyed]
   --------------------
   Services >
       / default empty menu /
   --------------------
   Hide AppName      ⌘H
   Hide Others      ⌥⌘H
   Show All
   --------------------
   Quit AppName      ⌘Q


File >
   Close             ⌘W


Window >
   Minimize          ⌘M
   Zoom
   --------------------
   Bring All to Front
   --------------------
   Window #1
   Window #2
   :
   :
@mantognini

This comment has been minimized.

Show comment
Hide comment
@mantognini

mantognini Sep 21, 2013

Member

Of course, Quit or Close Window will generate an appropriate close SFML event. It won't automatically quit or close the window.

Member

mantognini commented Sep 21, 2013

Of course, Quit or Close Window will generate an appropriate close SFML event. It won't automatically quit or close the window.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment