diff --git a/menu/drivers/materialui.c b/menu/drivers/materialui.c index f3238a52e1..2932fb20d6 100644 --- a/menu/drivers/materialui.c +++ b/menu/drivers/materialui.c @@ -101,6 +101,9 @@ enum MUI_TEXTURE_QUICKMENU, MUI_TEXTURE_NETPLAY, MUI_TEXTURE_CORES, + MUI_TEXTURE_RUN, + MUI_TEXTURE_RENAME, + MUI_TEXTURE_REMOVE, MUI_TEXTURE_LAST }; @@ -217,6 +220,12 @@ static const char *mui_texture_path(unsigned id) return "netplay.png"; case MUI_TEXTURE_CORES: return "cores.png"; + case MUI_TEXTURE_RUN: + return "run.png"; + case MUI_TEXTURE_RENAME: + return "rename.png"; + case MUI_TEXTURE_REMOVE: + return "remove.png"; case MUI_TEXTURE_UPDATER: return "update.png"; case MUI_TEXTURE_QUICKMENU: @@ -2248,6 +2257,21 @@ static void mui_list_insert(void *userdata, node->texture_switch2 = mui->textures.list[MUI_TEXTURE_CORES]; node->texture_switch2_set = true; } + else if (string_is_equal(label, msg_hash_to_str(MENU_ENUM_LABEL_RUN))) + { + node->texture_switch2 = mui->textures.list[MUI_TEXTURE_RUN]; + node->texture_switch2_set = true; + } + else if (string_is_equal(label, msg_hash_to_str(MENU_ENUM_LABEL_PLAYLIST_ENTRY_RENAME))) + { + node->texture_switch2 = mui->textures.list[MUI_TEXTURE_RENAME]; + node->texture_switch2_set = true; + } + else if (string_is_equal(label, msg_hash_to_str(MENU_ENUM_LABEL_DELETE_ENTRY))) + { + node->texture_switch2 = mui->textures.list[MUI_TEXTURE_REMOVE]; + node->texture_switch2_set = true; + } else if (string_is_equal(label, msg_hash_to_str(MENU_ENUM_LABEL_NETPLAY))) { node->texture_switch2 = mui->textures.list[MUI_TEXTURE_NETPLAY];