mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 21:32:45 +00:00
Start adding extra enums
This commit is contained in:
parent
e477555991
commit
821aff99df
@ -1872,6 +1872,12 @@ static const char *menu_hash_to_str_us_label_enum(enum msg_hash_enums msg)
|
||||
return "add_tab";
|
||||
case MENU_ENUM_LABEL_PLAYLISTS_TAB:
|
||||
return "playlists_tab";
|
||||
case MENU_ENUM_LABEL_MUSIC_TAB:
|
||||
return "music_tab";
|
||||
case MENU_ENUM_LABEL_VIDEO_TAB:
|
||||
return "video_tab";
|
||||
case MENU_ENUM_LABEL_IMAGES_TAB:
|
||||
return "images_tab";
|
||||
case MENU_ENUM_LABEL_HORIZONTAL_MENU:
|
||||
return "horizontal_menu";
|
||||
case MENU_ENUM_LABEL_PARENT_DIRECTORY:
|
||||
@ -3422,6 +3428,12 @@ const char *msg_hash_to_str_us(enum msg_hash_enums msg)
|
||||
return "Ask";
|
||||
case MENU_ENUM_LABEL_VALUE_PRIVACY_SETTINGS:
|
||||
return "Privacy";
|
||||
case MENU_ENUM_LABEL_VALUE_MUSIC_TAB:
|
||||
return "Music";
|
||||
case MENU_ENUM_LABEL_VALUE_VIDEO_TAB:
|
||||
return "Video";
|
||||
case MENU_ENUM_LABEL_VALUE_IMAGES_TAB:
|
||||
return "Images";
|
||||
case MENU_ENUM_LABEL_VALUE_HORIZONTAL_MENU:
|
||||
return "Horizontal Menu";
|
||||
case MENU_ENUM_LABEL_VALUE_SETTINGS_TAB:
|
||||
|
@ -562,6 +562,9 @@ static int menu_cbs_init_bind_left_compare_type(menu_file_list_cbs_t *cbs,
|
||||
if ( string_is_equal(menu_label, msg_hash_to_str(MENU_ENUM_LABEL_HISTORY_TAB)) ||
|
||||
string_is_equal(menu_label, msg_hash_to_str(MENU_ENUM_LABEL_PLAYLISTS_TAB)) ||
|
||||
string_is_equal(menu_label, msg_hash_to_str(MENU_ENUM_LABEL_ADD_TAB)) ||
|
||||
string_is_equal(menu_label, msg_hash_to_str(MENU_ENUM_LABEL_MUSIC_TAB)) ||
|
||||
string_is_equal(menu_label, msg_hash_to_str(MENU_ENUM_LABEL_IMAGES_TAB)) ||
|
||||
string_is_equal(menu_label, msg_hash_to_str(MENU_ENUM_LABEL_VIDEO_TAB)) ||
|
||||
string_is_equal(menu_label, msg_hash_to_str(MENU_ENUM_LABEL_HORIZONTAL_MENU)) ||
|
||||
string_is_equal(menu_label, msg_hash_to_str(MENU_ENUM_LABEL_SETTINGS_TAB))
|
||||
)
|
||||
@ -599,6 +602,9 @@ int menu_cbs_init_bind_left(menu_file_list_cbs_t *cbs,
|
||||
string_is_equal(menu_label, msg_hash_to_str(MENU_ENUM_LABEL_PLAYLISTS_TAB)) ||
|
||||
string_is_equal(menu_label, msg_hash_to_str(MENU_ENUM_LABEL_ADD_TAB)) ||
|
||||
string_is_equal(menu_label, msg_hash_to_str(MENU_ENUM_LABEL_MAIN_MENU)) ||
|
||||
string_is_equal(menu_label, msg_hash_to_str(MENU_ENUM_LABEL_MUSIC_TAB)) ||
|
||||
string_is_equal(menu_label, msg_hash_to_str(MENU_ENUM_LABEL_IMAGES_TAB)) ||
|
||||
string_is_equal(menu_label, msg_hash_to_str(MENU_ENUM_LABEL_VIDEO_TAB)) ||
|
||||
string_is_equal(menu_label, msg_hash_to_str(MENU_ENUM_LABEL_HORIZONTAL_MENU)) ||
|
||||
string_is_equal(menu_label, msg_hash_to_str(MENU_ENUM_LABEL_SETTINGS_TAB))
|
||||
)
|
||||
|
@ -482,6 +482,9 @@ static int menu_cbs_init_bind_right_compare_type(menu_file_list_cbs_t *cbs,
|
||||
if ( string_is_equal(menu_label, msg_hash_to_str(MENU_ENUM_LABEL_HISTORY_TAB)) ||
|
||||
string_is_equal(menu_label, msg_hash_to_str(MENU_ENUM_LABEL_PLAYLISTS_TAB)) ||
|
||||
string_is_equal(menu_label, msg_hash_to_str(MENU_ENUM_LABEL_ADD_TAB)) ||
|
||||
string_is_equal(menu_label, msg_hash_to_str(MENU_ENUM_LABEL_MUSIC_TAB)) ||
|
||||
string_is_equal(menu_label, msg_hash_to_str(MENU_ENUM_LABEL_IMAGES_TAB)) ||
|
||||
string_is_equal(menu_label, msg_hash_to_str(MENU_ENUM_LABEL_VIDEO_TAB)) ||
|
||||
string_is_equal(menu_label, msg_hash_to_str(MENU_ENUM_LABEL_HORIZONTAL_MENU)) ||
|
||||
string_is_equal(menu_label, msg_hash_to_str(MENU_ENUM_LABEL_SETTINGS_TAB))
|
||||
)
|
||||
@ -573,6 +576,9 @@ static int menu_cbs_init_bind_right_compare_label(menu_file_list_cbs_t *cbs,
|
||||
case MENU_ENUM_LABEL_NO_PLAYLIST_ENTRIES_AVAILABLE:
|
||||
if ( string_is_equal(menu_label, msg_hash_to_str(MENU_ENUM_LABEL_MAIN_MENU)) ||
|
||||
string_is_equal(menu_label, msg_hash_to_str(MENU_ENUM_LABEL_PLAYLISTS_TAB)) ||
|
||||
string_is_equal(menu_label, msg_hash_to_str(MENU_ENUM_LABEL_MUSIC_TAB)) ||
|
||||
string_is_equal(menu_label, msg_hash_to_str(MENU_ENUM_LABEL_IMAGES_TAB)) ||
|
||||
string_is_equal(menu_label, msg_hash_to_str(MENU_ENUM_LABEL_VIDEO_TAB)) ||
|
||||
string_is_equal(menu_label, msg_hash_to_str(MENU_ENUM_LABEL_HORIZONTAL_MENU))
|
||||
)
|
||||
{
|
||||
@ -608,6 +614,9 @@ int menu_cbs_init_bind_right(menu_file_list_cbs_t *cbs,
|
||||
string_is_equal(menu_label, msg_hash_to_str(MENU_ENUM_LABEL_PLAYLISTS_TAB)) ||
|
||||
string_is_equal(menu_label, msg_hash_to_str(MENU_ENUM_LABEL_ADD_TAB)) ||
|
||||
string_is_equal(menu_label, msg_hash_to_str(MENU_ENUM_LABEL_MAIN_MENU)) ||
|
||||
string_is_equal(menu_label, msg_hash_to_str(MENU_ENUM_LABEL_MUSIC_TAB)) ||
|
||||
string_is_equal(menu_label, msg_hash_to_str(MENU_ENUM_LABEL_IMAGES_TAB)) ||
|
||||
string_is_equal(menu_label, msg_hash_to_str(MENU_ENUM_LABEL_VIDEO_TAB)) ||
|
||||
string_is_equal(menu_label, msg_hash_to_str(MENU_ENUM_LABEL_HORIZONTAL_MENU)) ||
|
||||
string_is_equal(menu_label, msg_hash_to_str(MENU_ENUM_LABEL_SETTINGS_TAB))
|
||||
)
|
||||
|
@ -1258,6 +1258,15 @@ enum msg_hash_enums
|
||||
MENU_ENUM_LABEL_VALUE_CRC,
|
||||
MENU_ENUM_LABEL_VALUE_MORE,
|
||||
|
||||
MENU_ENUM_LABEL_VIDEO_TAB,
|
||||
MENU_ENUM_LABEL_VALUE_VIDEO_TAB,
|
||||
|
||||
MENU_ENUM_LABEL_MUSIC_TAB,
|
||||
MENU_ENUM_LABEL_VALUE_MUSIC_TAB,
|
||||
|
||||
MENU_ENUM_LABEL_IMAGES_TAB,
|
||||
MENU_ENUM_LABEL_VALUE_IMAGES_TAB,
|
||||
|
||||
MENU_ENUM_LABEL_HORIZONTAL_MENU,
|
||||
MENU_ENUM_LABEL_VALUE_HORIZONTAL_MENU,
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user