diff options
Diffstat (limited to 'osdep/macosx_application.m')
-rw-r--r-- | osdep/macosx_application.m | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/osdep/macosx_application.m b/osdep/macosx_application.m index 10a992da2c..0002552560 100644 --- a/osdep/macosx_application.m +++ b/osdep/macosx_application.m @@ -44,30 +44,30 @@ #define OPT_BASE_STRUCT struct macos_opts const struct m_sub_options macos_conf = { .opts = (const struct m_option[]) { - OPT_CHOICE("macos-title-bar-appearance", macos_title_bar_appearance, 0, - ({"auto", 0}, {"aqua", 1}, {"darkAqua", 2}, - {"vibrantLight", 3}, {"vibrantDark", 4}, - {"aquaHighContrast", 5}, {"darkAquaHighContrast", 6}, - {"vibrantLightHighContrast", 7}, - {"vibrantDarkHighContrast", 8})), - OPT_CHOICE("macos-title-bar-material", macos_title_bar_material, 0, - ({"titlebar", 0}, {"selection", 1}, {"menu", 2}, - {"popover", 3}, {"sidebar", 4}, {"headerView", 5}, - {"sheet", 6}, {"windowBackground", 7}, {"hudWindow", 8}, - {"fullScreen", 9}, {"toolTip", 10}, {"contentBackground", 11}, - {"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})), - OPT_FLAG("macos-force-dedicated-gpu", macos_force_dedicated_gpu, 0), - OPT_CHOICE("cocoa-cb-sw-renderer", cocoa_cb_sw_renderer, 0, - ({"auto", -1}, {"no", 0}, {"yes", 1})), - OPT_FLAG("cocoa-cb-10bit-context", cocoa_cb_10bit_context, 0), - OPT_REMOVED("macos-title-bar-style", "Split into --macos-title-bar-appearance " - "and --macos-title-bar-material"), + {"macos-title-bar-appearance", OPT_CHOICE(macos_title_bar_appearance, + {"auto", 0}, {"aqua", 1}, {"darkAqua", 2}, + {"vibrantLight", 3}, {"vibrantDark", 4}, + {"aquaHighContrast", 5}, {"darkAquaHighContrast", 6}, + {"vibrantLightHighContrast", 7}, + {"vibrantDarkHighContrast", 8})}, + {"macos-title-bar-material", OPT_CHOICE(macos_title_bar_material, + {"titlebar", 0}, {"selection", 1}, {"menu", 2}, + {"popover", 3}, {"sidebar", 4}, {"headerView", 5}, + {"sheet", 6}, {"windowBackground", 7}, {"hudWindow", 8}, + {"fullScreen", 9}, {"toolTip", 10}, {"contentBackground", 11}, + {"underWindowBackground", 12}, {"underPageBackground", 13}, + {"dark", 14}, {"light", 15}, {"mediumLight", 16}, + {"ultraDark", 17})}, + {"macos-title-bar-color", OPT_COLOR(macos_title_bar_color)}, + {"macos-fs-animation-duration", + OPT_CHOICE(macos_fs_animation_duration, {"default", -1}), + M_RANGE(0, 1000)}, + {"macos-force-dedicated-gpu", OPT_FLAG(macos_force_dedicated_gpu)}, + {"cocoa-cb-sw-renderer", OPT_CHOICE(cocoa_cb_sw_renderer, + {"auto", -1}, {"no", 0}, {"yes", 1})}, + {"cocoa-cb-10bit-context", OPT_FLAG(cocoa_cb_10bit_context)}, + {"macos-title-bar-style", OPT_REMOVED("Split into --macos-title-bar-appearance " + "and --macos-title-bar-material")}, {0} }, .size = sizeof(struct macos_opts), |