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/list.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'apps/gui/list.h') diff --git a/apps/gui/list.h b/apps/gui/list.h index e2d7a518e4..8db9c24d48 100644 --- a/apps/gui/list.h +++ b/apps/gui/list.h @@ -171,6 +171,8 @@ extern void gui_synclist_set_title(struct gui_synclist * lists, char * title, int icon); extern void gui_synclist_hide_selection_marker(struct gui_synclist *lists, bool hide); +extern bool gui_synclist_item_is_onscreen(struct gui_synclist *lists, + enum screen_type screen, int item); /* * Do the action implied by the given button, * returns true if the action was handled. -- cgit v1.2.3