From 93f9e7cbfb3905791feccb4da68f6cc969d1e148 Mon Sep 17 00:00:00 2001 From: Teruaki Kawashima Date: Thu, 11 Feb 2010 10:41:06 +0000 Subject: fix text scrolling handling in do_menu, set_time_screen and time_screen. Don't scroll text in time_screen(). the lines will be redrawn before scrolling statrs, so they don't scroll anyway. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24591 a1c6a512-1295-4272-9138-f99709370657 --- apps/gui/bitmap/list.c | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'apps/gui/bitmap') diff --git a/apps/gui/bitmap/list.c b/apps/gui/bitmap/list.c index 7680c876aa..9e222c1973 100644 --- a/apps/gui/bitmap/list.c +++ b/apps/gui/bitmap/list.c @@ -51,6 +51,17 @@ int gui_list_get_item_offset(struct gui_synclist * gui_list, int item_width, struct viewport *vp); bool list_display_title(struct gui_synclist *list, enum screen_type screen); +void gui_synclist_scroll_stop(struct gui_synclist *lists) +{ + int i; + FOR_NB_SCREENS(i) + { + screens[i].scroll_stop(&list_text[i]); + screens[i].scroll_stop(&title_text[i]); + screens[i].scroll_stop(lists->parent[i]); + } +} + /* Draw the list... internal screen layout: ----------------- -- cgit v1.2.3