mirror of
https://github.com/libretro/RetroArch
synced 2025-04-10 06:44:27 +00:00
Add sublabels
This commit is contained in:
parent
9e114d5dee
commit
2539de0111
@ -2563,3 +2563,15 @@ MSG_HASH(
|
|||||||
MENU_ENUM_SUBLABEL_WIFI_DRIVER,
|
MENU_ENUM_SUBLABEL_WIFI_DRIVER,
|
||||||
"WiFi driver to use."
|
"WiFi driver to use."
|
||||||
)
|
)
|
||||||
|
MSG_HASH(
|
||||||
|
MENU_ENUM_SUBLABEL_NAVIGATION_BROWSER_FILTER_SUPPORTED_EXTENSIONS_ENABLE,
|
||||||
|
"Filter files being shown in filebrowser by supported extensions."
|
||||||
|
)
|
||||||
|
MSG_HASH(
|
||||||
|
MENU_ENUM_SUBLABEL_MENU_WALLPAPER,
|
||||||
|
"Select an image to set as menu wallpaper."
|
||||||
|
)
|
||||||
|
MSG_HASH(
|
||||||
|
MENU_ENUM_SUBLABEL_DYNAMIC_WALLPAPER,
|
||||||
|
"Dynamically load a new wallpaper depending on context."
|
||||||
|
)
|
||||||
|
@ -174,6 +174,9 @@ default_sublabel_macro(action_bind_sublabel_location_driver, MENU_
|
|||||||
default_sublabel_macro(action_bind_sublabel_menu_driver, MENU_ENUM_SUBLABEL_MENU_DRIVER)
|
default_sublabel_macro(action_bind_sublabel_menu_driver, MENU_ENUM_SUBLABEL_MENU_DRIVER)
|
||||||
default_sublabel_macro(action_bind_sublabel_record_driver, MENU_ENUM_SUBLABEL_RECORD_DRIVER)
|
default_sublabel_macro(action_bind_sublabel_record_driver, MENU_ENUM_SUBLABEL_RECORD_DRIVER)
|
||||||
default_sublabel_macro(action_bind_sublabel_wifi_driver, MENU_ENUM_SUBLABEL_WIFI_DRIVER)
|
default_sublabel_macro(action_bind_sublabel_wifi_driver, MENU_ENUM_SUBLABEL_WIFI_DRIVER)
|
||||||
|
default_sublabel_macro(action_bind_sublabel_filter_supported_extensions, MENU_ENUM_SUBLABEL_NAVIGATION_BROWSER_FILTER_SUPPORTED_EXTENSIONS_ENABLE)
|
||||||
|
default_sublabel_macro(action_bind_sublabel_wallpaper, MENU_ENUM_SUBLABEL_MENU_WALLPAPER)
|
||||||
|
default_sublabel_macro(action_bind_sublabel_dynamic_wallpaper, MENU_ENUM_SUBLABEL_DYNAMIC_WALLPAPER)
|
||||||
|
|
||||||
static int action_bind_sublabel_cheevos_entry(
|
static int action_bind_sublabel_cheevos_entry(
|
||||||
file_list_t *list,
|
file_list_t *list,
|
||||||
@ -235,6 +238,15 @@ int menu_cbs_init_bind_sublabel(menu_file_list_cbs_t *cbs,
|
|||||||
{
|
{
|
||||||
switch (cbs->enum_idx)
|
switch (cbs->enum_idx)
|
||||||
{
|
{
|
||||||
|
case MENU_ENUM_LABEL_MENU_WALLPAPER:
|
||||||
|
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_wallpaper);
|
||||||
|
break;
|
||||||
|
case MENU_ENUM_LABEL_DYNAMIC_WALLPAPER:
|
||||||
|
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_dynamic_wallpaper);
|
||||||
|
break;
|
||||||
|
case MENU_ENUM_LABEL_NAVIGATION_BROWSER_FILTER_SUPPORTED_EXTENSIONS_ENABLE:
|
||||||
|
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_filter_supported_extensions);
|
||||||
|
break;
|
||||||
case MENU_ENUM_LABEL_WIFI_DRIVER:
|
case MENU_ENUM_LABEL_WIFI_DRIVER:
|
||||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_wifi_driver);
|
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_wifi_driver);
|
||||||
break;
|
break;
|
||||||
|
@ -640,10 +640,10 @@
|
|||||||
# If disabled, we use separate controls for menu operation.
|
# If disabled, we use separate controls for menu operation.
|
||||||
# menu_unified_controls = false
|
# menu_unified_controls = false
|
||||||
|
|
||||||
# Enable mouse input inside the menu.
|
# Enable mouse controls inside the menu.
|
||||||
# menu_mouse_enable = false
|
# menu_mouse_enable = false
|
||||||
|
|
||||||
# Enable touch input inside the menu.
|
# Enable touch controls inside the menu.
|
||||||
# menu_pointer_enable = false
|
# menu_pointer_enable = false
|
||||||
|
|
||||||
# Shows current date and/or time inside menu.
|
# Shows current date and/or time inside menu.
|
||||||
@ -667,7 +667,7 @@
|
|||||||
# Wrap-around to beginning and/or end if boundary of list is reached horizontally or vertically
|
# Wrap-around to beginning and/or end if boundary of list is reached horizontally or vertically
|
||||||
# menu_navigation_wraparound_enable = false
|
# menu_navigation_wraparound_enable = false
|
||||||
|
|
||||||
# Filter files being show in 'Load Content' by supported extensions
|
# Filter files being shown in filebrowser by supported extensions
|
||||||
# menu_navigation_browser_filter_supported_extensions_enable = true
|
# menu_navigation_browser_filter_supported_extensions_enable = true
|
||||||
|
|
||||||
# Collapse subgroup settings into main group to create one big listing of settings
|
# Collapse subgroup settings into main group to create one big listing of settings
|
||||||
|
Loading…
x
Reference in New Issue
Block a user