mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 12:32:52 +00:00
(XMB) Dislay a close icon for the close entry of the quick menu
This commit is contained in:
parent
6416f825ed
commit
f698a0923b
@ -67,6 +67,7 @@ enum
|
||||
XMB_TEXTURE_SUBSETTING,
|
||||
XMB_TEXTURE_ARROW,
|
||||
XMB_TEXTURE_RUN,
|
||||
XMB_TEXTURE_CLOSE,
|
||||
XMB_TEXTURE_RESUME,
|
||||
XMB_TEXTURE_SAVESTATE,
|
||||
XMB_TEXTURE_LOADSTATE,
|
||||
@ -1091,6 +1092,8 @@ static GLuint xmb_icon_get_id(xmb_handle_t *xmb,
|
||||
return xmb->textures.list[XMB_TEXTURE_CURSOR].id;
|
||||
case MENU_SETTING_ACTION_RUN:
|
||||
return xmb->textures.list[XMB_TEXTURE_RUN].id;
|
||||
case MENU_SETTING_ACTION_CLOSE:
|
||||
return xmb->textures.list[XMB_TEXTURE_CLOSE].id;
|
||||
case MENU_SETTING_ACTION_SAVESTATE:
|
||||
return xmb->textures.list[XMB_TEXTURE_SAVESTATE].id;
|
||||
case MENU_SETTING_ACTION_LOADSTATE:
|
||||
@ -1971,6 +1974,9 @@ static void xmb_context_reset_textures(xmb_handle_t *xmb, const char *iconpath)
|
||||
case XMB_TEXTURE_RUN:
|
||||
fill_pathname_join(path, iconpath, "run.png", sizeof(path));
|
||||
break;
|
||||
case XMB_TEXTURE_CLOSE:
|
||||
fill_pathname_join(path, iconpath, "close.png", sizeof(path));
|
||||
break;
|
||||
case XMB_TEXTURE_RESUME:
|
||||
fill_pathname_join(path, iconpath, "resume.png", sizeof(path));
|
||||
break;
|
||||
|
@ -95,6 +95,7 @@ typedef enum
|
||||
MENU_SETTING_DRIVER,
|
||||
MENU_SETTING_ACTION,
|
||||
MENU_SETTING_ACTION_RUN,
|
||||
MENU_SETTING_ACTION_CLOSE,
|
||||
MENU_SETTING_ACTION_CORE_OPTIONS,
|
||||
MENU_SETTING_ACTION_CORE_INPUT_REMAPPING_OPTIONS,
|
||||
MENU_SETTING_ACTION_CORE_CHEAT_OPTIONS,
|
||||
|
@ -1540,7 +1540,7 @@ static int menu_displaylist_parse_load_content_settings(menu_displaylist_info_t
|
||||
menu_list_push(info->list,
|
||||
menu_hash_to_str(MENU_LABEL_VALUE_CLOSE_CONTENT),
|
||||
menu_hash_to_str(MENU_LABEL_CLOSE_CONTENT),
|
||||
MENU_SETTING_ACTION_RUN, 0, 0);
|
||||
MENU_SETTING_ACTION_CLOSE, 0, 0);
|
||||
|
||||
menu_list_push(info->list,
|
||||
menu_hash_to_str(MENU_LABEL_VALUE_TAKE_SCREENSHOT),
|
||||
|
Loading…
x
Reference in New Issue
Block a user