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/charcell/list.c | |
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/charcell/list.c')
-rw-r--r-- | apps/gui/charcell/list.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/apps/gui/charcell/list.c b/apps/gui/charcell/list.c index 2374156f0b..220144c356 100644 --- a/apps/gui/charcell/list.c +++ b/apps/gui/charcell/list.c | |||
@@ -39,6 +39,16 @@ | |||
39 | #include "sound.h" | 39 | #include "sound.h" |
40 | #include "misc.h" | 40 | #include "misc.h" |
41 | 41 | ||
42 | void gui_synclist_scroll_stop(struct gui_synclist *lists) | ||
43 | { | ||
44 | int i; | ||
45 | (void)lists; | ||
46 | FOR_NB_SCREENS(i) | ||
47 | { | ||
48 | screens[i].stop_scroll(); | ||
49 | } | ||
50 | } | ||
51 | |||
42 | void list_draw(struct screen *display, struct gui_synclist *gui_list) | 52 | void list_draw(struct screen *display, struct gui_synclist *gui_list) |
43 | { | 53 | { |
44 | int text_pos; | 54 | int text_pos; |