diff options
author | der richter <der.richter@gmx.de> | 2019-03-29 20:39:42 +0100 |
---|---|---|
committer | Jan Ekström <jeebjp@gmail.com> | 2019-04-02 02:09:01 +0300 |
commit | 90e44d3ff2182749da8d7d255bef15fd99c18eee (patch) | |
tree | a20a2aa8bb26e8b9340aecb96cc9085b1475a2f9 /osdep/macosx_application.m | |
parent | 837e5058ff110247229057f7ab182a041d1c98b8 (diff) | |
download | mpv-90e44d3ff2182749da8d7d255bef15fd99c18eee.tar.bz2 mpv-90e44d3ff2182749da8d7d255bef15fd99c18eee.tar.xz |
cocoa-cb: add support for custom colored title bar
Diffstat (limited to 'osdep/macosx_application.m')
-rw-r--r-- | osdep/macosx_application.m | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/osdep/macosx_application.m b/osdep/macosx_application.m index 4653b7177d..08b3fce901 100644 --- a/osdep/macosx_application.m +++ b/osdep/macosx_application.m @@ -57,6 +57,7 @@ const struct m_sub_options macos_conf = { {"underWindowBackground", 12}, {"underPageBackground", 13}, {"dark", 14}, {"light", 15}, {"mediumLight", 16}, {"ultraDark", 17})), + OPT_COLOR("macos-title-bar-color", macos_title_bar_color, 0), OPT_CHOICE_OR_INT("macos-fs-animation-duration", macos_fs_animation_duration, 0, 0, 1000, ({"default", -1})), @@ -68,6 +69,7 @@ const struct m_sub_options macos_conf = { }, .size = sizeof(struct macos_opts), .defaults = &(const struct macos_opts){ + .macos_title_bar_color = {0, 0, 0, 0}, .macos_fs_animation_duration = -1, .cocoa_cb_sw_renderer = -1, }, |