From 466e5d9aa4fcdc3da6172eb9ae125fd4157be0b9 Mon Sep 17 00:00:00 2001 From: Jonathan Gordon Date: Fri, 26 Feb 2010 03:45:41 +0000 Subject: 2 new tags for the base skin. %Lt - the title text for the current list %Li - the icon number. Same order as the CustomIcons list, except the first icon is the "no icon" icon. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24917 a1c6a512-1295-4272-9138-f99709370657 --- apps/menu.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'apps/menu.c') diff --git a/apps/menu.c b/apps/menu.c index eb4bf0e1c9..670a235202 100644 --- a/apps/menu.c +++ b/apps/menu.c @@ -28,6 +28,7 @@ #include "config.h" #include "system.h" +#include "appevents.h" #include "lcd.h" #include "font.h" #include "file.h" @@ -364,7 +365,7 @@ int do_menu(const struct menu_item_ex *start_menu, int *start_selected, /* if hide_theme is true, assume parent has been fixed before passed into * this function, e.g. with viewport_set_defaults(parent, screen) */ - init_menu_lists(menu, &lists, selected, true, parent); + init_menu_lists(menu, &lists, selected, true, parent); vps = *(lists.parent); in_stringlist = ((menu->flags&MENU_TYPE_MASK) == MT_RETURN_ID); /* load the callback, and only reload it if menu changes */ @@ -604,6 +605,7 @@ int do_menu(const struct menu_item_ex *start_menu, int *start_selected, case MT_SETTING_W_TEXT: { do_setting_from_menu(temp, vps); + send_event(GUI_EVENT_ACTIONUPDATE, (void*)1); /* force a redraw */ break; } case MT_RETURN_ID: -- cgit