diff options
author | Teruaki Kawashima <teru@rockbox.org> | 2010-02-11 10:41:06 +0000 |
---|---|---|
committer | Teruaki Kawashima <teru@rockbox.org> | 2010-02-11 10:41:06 +0000 |
commit | 93f9e7cbfb3905791feccb4da68f6cc969d1e148 (patch) | |
tree | fb6e01220844fa1c0a9f92643ccaddb70fcb66b4 /apps/gui/bitmap | |
parent | 0a291fff12c27ba6b46521ecaf126bdb4726c24e (diff) | |
download | rockbox-93f9e7cbfb3905791feccb4da68f6cc969d1e148.tar.gz rockbox-93f9e7cbfb3905791feccb4da68f6cc969d1e148.zip |
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.c | 11 |
1 files changed, 11 insertions, 0 deletions
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, | |||
51 | struct viewport *vp); | 51 | struct viewport *vp); |
52 | bool list_display_title(struct gui_synclist *list, enum screen_type screen); | 52 | bool list_display_title(struct gui_synclist *list, enum screen_type screen); |
53 | 53 | ||
54 | void gui_synclist_scroll_stop(struct gui_synclist *lists) | ||
55 | { | ||
56 | int i; | ||
57 | FOR_NB_SCREENS(i) | ||
58 | { | ||
59 | screens[i].scroll_stop(&list_text[i]); | ||
60 | screens[i].scroll_stop(&title_text[i]); | ||
61 | screens[i].scroll_stop(lists->parent[i]); | ||
62 | } | ||
63 | } | ||
64 | |||
54 | /* Draw the list... | 65 | /* Draw the list... |
55 | internal screen layout: | 66 | internal screen layout: |
56 | ----------------- | 67 | ----------------- |