mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-23 11:18:25 +00:00
Add sublabel
This commit is contained in:
parent
f18b919142
commit
5d75a61bd6
@ -2429,3 +2429,7 @@ MSG_HASH(MENU_ENUM_SUBLABEL_VIDEO_FONT_SIZE,
|
||||
"Specify the font size in points.")
|
||||
MSG_HASH(MENU_ENUM_SUBLABEL_INPUT_OVERLAY_HIDE_IN_MENU,
|
||||
"Hide the overlay while we are inside the menu, and show it again when exiting the menu.")
|
||||
MSG_HASH(
|
||||
MENU_ENUM_SUBLABEL_CONTENT_COLLECTION_LIST,
|
||||
"Content which has been scanned will appear here."
|
||||
)
|
||||
|
@ -140,6 +140,7 @@ default_sublabel_macro(action_bind_sublabel_video_message_pos_x, MENU_
|
||||
default_sublabel_macro(action_bind_sublabel_video_message_pos_y, MENU_ENUM_SUBLABEL_VIDEO_MESSAGE_POS_Y)
|
||||
default_sublabel_macro(action_bind_sublabel_video_font_size, MENU_ENUM_SUBLABEL_VIDEO_FONT_SIZE)
|
||||
default_sublabel_macro(action_bind_sublabel_input_overlay_hide_in_menu, MENU_ENUM_SUBLABEL_INPUT_OVERLAY_HIDE_IN_MENU)
|
||||
default_sublabel_macro(action_bind_sublabel_content_collection_list, MENU_ENUM_SUBLABEL_CONTENT_COLLECTION_LIST)
|
||||
|
||||
static int action_bind_sublabel_cheevos_entry(
|
||||
file_list_t *list,
|
||||
@ -201,6 +202,9 @@ int menu_cbs_init_bind_sublabel(menu_file_list_cbs_t *cbs,
|
||||
{
|
||||
switch (cbs->enum_idx)
|
||||
{
|
||||
case MENU_ENUM_LABEL_CONTENT_COLLECTION_LIST:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_content_collection_list);
|
||||
break;
|
||||
case MENU_ENUM_LABEL_INPUT_OVERLAY_HIDE_IN_MENU:
|
||||
BIND_ACTION_SUBLABEL(cbs, action_bind_sublabel_input_overlay_hide_in_menu);
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user