From 311d048f6f265f8a2d5dcd4050c0da32bfa05f68 Mon Sep 17 00:00:00 2001 From: Jonathan Gordon Date: Sat, 5 Jul 2008 12:31:04 +0000 Subject: fix FS#9144 hopefully for good... only update the screen if the time line is selected, or if talking menus are disabled, only update if the time line is actually on the screen. Also only update every 5s so scrolling lines still scroll. (turns out scroll_all was broken! fixed now) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17944 a1c6a512-1295-4272-9138-f99709370657 --- apps/gui/bitmap/list.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'apps/gui/bitmap/list.c') diff --git a/apps/gui/bitmap/list.c b/apps/gui/bitmap/list.c index 4aaecc7eab..5a8bc69450 100644 --- a/apps/gui/bitmap/list.c +++ b/apps/gui/bitmap/list.c @@ -250,8 +250,14 @@ void list_draw(struct screen *display, struct viewport *parent, } } else - display->puts_style_offset(0, i-start, entry_name, - list_text[display->screen_type].drawmode, item_offset); + { + if (list->scroll_all) + display->puts_scroll_style_offset(0, i-start, entry_name, + list_text[display->screen_type].drawmode, item_offset); + else + display->puts_style_offset(0, i-start, entry_name, + list_text[display->screen_type].drawmode, item_offset); + } /* do the icon */ if (list->callback_get_item_icon && global_settings.show_icons) { -- cgit v1.2.3