diff --git a/intl/msg_hash_us.h b/intl/msg_hash_us.h index 9e5804bb81..ab97898807 100644 --- a/intl/msg_hash_us.h +++ b/intl/msg_hash_us.h @@ -2587,3 +2587,19 @@ MSG_HASH( MENU_ENUM_SUBLABEL_AUDIO_OUTPUT_RATE, "Audio output samplerate." ) +MSG_HASH( + MENU_ENUM_SUBLABEL_OVERLAY_OPACITY, + "Opacity of all UI elements of the overlay." + ) +MSG_HASH( + MENU_ENUM_SUBLABEL_OVERLAY_SCALE, + "Scale of all UI elements of the overlay." + ) +MSG_HASH( + MENU_ENUM_SUBLABEL_INPUT_OVERLAY_ENABLE, + "Enable the overlay." + ) +MSG_HASH( + MENU_ENUM_SUBLABEL_OVERLAY_PRESET, + "Select an overlay from the file browser." + ) diff --git a/menu/cbs/menu_cbs_sublabel.c b/menu/cbs/menu_cbs_sublabel.c index de5f1abd1b..f3674a488f 100644 --- a/menu/cbs/menu_cbs_sublabel.c +++ b/menu/cbs/menu_cbs_sublabel.c @@ -180,6 +180,10 @@ default_sublabel_macro(action_bind_sublabel_dynamic_wallpaper, MENU_ default_sublabel_macro(action_bind_sublabel_audio_device, MENU_ENUM_SUBLABEL_AUDIO_DEVICE) default_sublabel_macro(action_bind_sublabel_audio_output_rate, MENU_ENUM_SUBLABEL_AUDIO_OUTPUT_RATE) default_sublabel_macro(action_bind_sublabel_audio_dsp_plugin, MENU_ENUM_SUBLABEL_AUDIO_DSP_PLUGIN) +default_sublabel_macro(action_bind_sublabel_overlay_opacity, MENU_ENUM_SUBLABEL_OVERLAY_OPACITY) +default_sublabel_macro(action_bind_sublabel_overlay_scale, MENU_ENUM_SUBLABEL_OVERLAY_SCALE) +default_sublabel_macro(action_bind_sublabel_overlay_enable, MENU_ENUM_SUBLABEL_INPUT_OVERLAY_ENABLE) +default_sublabel_macro(action_bind_sublabel_overlay_preset, MENU_ENUM_SUBLABEL_OVERLAY_PRESET) static int action_bind_sublabel_cheevos_entry( file_list_t *list, @@ -241,6 +245,18 @@ int menu_cbs_init_bind_sublabel(menu_file_list_cbs_t *cbs, { switch (cbs->enum_idx) { + case MENU_ENUM_LABEL_OVERLAY_PRESET: + BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_overlay_preset); + break; + case MENU_ENUM_LABEL_INPUT_OVERLAY_ENABLE: + BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_overlay_enable); + break; + case MENU_ENUM_LABEL_OVERLAY_OPACITY: + BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_overlay_opacity); + break; + case MENU_ENUM_LABEL_OVERLAY_SCALE: + BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_overlay_scale); + break; case MENU_ENUM_LABEL_AUDIO_DSP_PLUGIN: BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_audio_dsp_plugin); break; diff --git a/retroarch.cfg b/retroarch.cfg index abdd4c0781..c7f728b79b 100644 --- a/retroarch.cfg +++ b/retroarch.cfg @@ -319,7 +319,7 @@ # Defines a directory where overlays are kept for easy access. # overlay_directory = -# Enable or disable the current overlay. +# Enable the overlay. # input_overlay_enable = true # Hide the current overlay from appearing inside the menu. @@ -328,10 +328,10 @@ # Path to input overlay. # input_overlay = -# Overlay opacity. +# Opacity of all the UI elements of the overlay. # input_overlay_opacity = 1.0 -# Overlay scale. +# Scale of all UI elements of the overlay. # input_overlay_scale = 1.0 #### Input