summaryrefslogtreecommitdiffstats
path: root/osdep/macosx_menubar.h
diff options
context:
space:
mode:
authorAkemi <der.richter@gmx.de>2017-07-29 15:26:58 +0200
committerAkemi <der.richter@gmx.de>2017-08-18 19:20:41 +0200
commit48ab72b4781b01e334b60d6f5e71afe72900fa58 (patch)
tree94edaabec7ff70a728e7e1925a2b9ad54b2d6450 /osdep/macosx_menubar.h
parent1f7fe1597db4d6d984fe8f9235223a404b4280f1 (diff)
downloadmpv-48ab72b4781b01e334b60d6f5e71afe72900fa58.tar.bz2
mpv-48ab72b4781b01e334b60d6f5e71afe72900fa58.tar.xz
osx: move menu bar creation into its own file
Diffstat (limited to 'osdep/macosx_menubar.h')
-rw-r--r--osdep/macosx_menubar.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/osdep/macosx_menubar.h b/osdep/macosx_menubar.h
new file mode 100644
index 0000000000..e0466ee501
--- /dev/null
+++ b/osdep/macosx_menubar.h
@@ -0,0 +1,30 @@
+/*
+ * This file is part of mpv.
+ *
+ * mpv is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * mpv is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with mpv. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+#ifndef MPV_MACOSX_MENU
+#define MPV_MACOSX_MENU
+
+// Menu Keys identifing menu items
+typedef enum {
+ MPM_H_SIZE,
+ MPM_N_SIZE,
+ MPM_D_SIZE,
+ MPM_MINIMIZE,
+ MPM_ZOOM,
+} MPMenuKey;
+
+#endif /* MPV_MACOSX_MENU */