summaryrefslogtreecommitdiff
path: root/apps/gui/bitmap
diff options
context:
space:
mode:
authorTeruaki Kawashima <teru@rockbox.org>2010-02-11 10:41:06 +0000
committerTeruaki Kawashima <teru@rockbox.org>2010-02-11 10:41:06 +0000
commit93f9e7cbfb3905791feccb4da68f6cc969d1e148 (patch)
treefb6e01220844fa1c0a9f92643ccaddb70fcb66b4 /apps/gui/bitmap
parent0a291fff12c27ba6b46521ecaf126bdb4726c24e (diff)
downloadrockbox-93f9e7cbfb3905791feccb4da68f6cc969d1e148.zip
rockbox-93f9e7cbfb3905791feccb4da68f6cc969d1e148.tar.gz
rockbox-93f9e7cbfb3905791feccb4da68f6cc969d1e148.tar.bz2
rockbox-93f9e7cbfb3905791feccb4da68f6cc969d1e148.tar.xz
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
Diffstat (limited to 'apps/gui/bitmap')
-rw-r--r--apps/gui/bitmap/list.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/apps/gui/bitmap/list.c b/apps/gui/bitmap/list.c
index 7680c87..9e222c1 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:
-----------------