summaryrefslogtreecommitdiffstats
path: root/apps/gui/list.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/gui/list.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/gui/list.c')
-rw-r--r--apps/gui/list.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/apps/gui/list.c b/apps/gui/list.c
index a3b822503b..ccb51959ff 100644
--- a/apps/gui/list.c
+++ b/apps/gui/list.c
@@ -39,6 +39,7 @@
#include "talk.h"
#include "viewport.h"
#include "appevents.h"
+#include "statusbar-skinned.h"
/* The minimum number of pending button events in queue before starting
* to limit list drawing interval.
@@ -399,6 +400,12 @@ void gui_synclist_set_title(struct gui_synclist * gui_list,
{
gui_list->title = title;
gui_list->title_icon = icon;
+#ifdef HAVE_LCD_BITMAP
+ int i;
+ FOR_NB_SCREENS(i)
+ sb_set_title_text(title, icon, i);
+#endif
+ send_event(GUI_EVENT_ACTIONUPDATE, (void*)1);
}
void gui_synclist_set_nb_items(struct gui_synclist * lists, int nb_items)
@@ -550,7 +557,6 @@ bool gui_synclist_do_button(struct gui_synclist * lists,
#else
static int next_item_modifier = 1;
static int last_accel_tick = 0;
-
if (global_settings.list_accel_start_delay)
{
int start_delay = global_settings.list_accel_start_delay * (HZ/2);