summaryrefslogtreecommitdiffstats
path: root/apps/menu.c
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2010-02-26 03:45:41 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2010-02-26 03:45:41 +0000
commit466e5d9aa4fcdc3da6172eb9ae125fd4157be0b9 (patch)
tree660ff0f1991703cd87e77bab3cccca190d0f5e28 /apps/menu.c
parentca755f767c2d67fb2b52c292402b3b3d3be28244 (diff)
downloadrockbox-466e5d9aa4fcdc3da6172eb9ae125fd4157be0b9.tar.gz
rockbox-466e5d9aa4fcdc3da6172eb9ae125fd4157be0b9.tar.bz2
rockbox-466e5d9aa4fcdc3da6172eb9ae125fd4157be0b9.zip
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
Diffstat (limited to 'apps/menu.c')
-rw-r--r--apps/menu.c4
1 files changed, 3 insertions, 1 deletions
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: