summaryrefslogtreecommitdiffstats
path: root/osdep/macosx_menubar.m
Commit message (Collapse)AuthorAgeFilesLines
* build: move copyright statement to a shared locationwm42018-01-011-1/+1
| | | | | | | Now macosx_menubar.m and mpv.rc (win32) use the same copyright string. (This is a bit roundabout, because mpv.rc can't use C constants. Also the C code wants to avoid rebuilding real source files if only version.h changed, so only version.c includes version.h.)
* osx: fix build on macOS 10.11 and earlierAkemi2017-08-261-2/+3
| | | | | | | | 98f5579 added a safeguard for the deactivation of the automatic tab bar but it still needs a compile time guard. add a forward declaration for the setAllowsAutomaticWindowTabbing method of NSWindow. Fixes #4783
* osx: remove the standard "Show Tab Bar" menu itemAkemi2017-08-181-0/+3
| | | | | it's unused and added automatically. we need to guard the deactivation since it's a 10.12+ feature.
* osx: refactor menu bar creationAkemi2017-08-181-78/+679
| | | | | make the menu bar look more like a standard macOS menu bar, with all the standard menu items like About, Help, Open, etc.
* osx: move menu bar creation into its own fileAkemi2017-08-181-0/+146