diff options
| author | Thomas Martitz <kugel@rockbox.org> | 2013-04-03 16:33:23 +0200 |
|---|---|---|
| committer | Thomas Martitz <kugel@rockbox.org> | 2013-12-14 23:11:30 +0100 |
| commit | 1c5d0b41eebdb4f8c627b1a0e5f7b699f0b08fb8 (patch) | |
| tree | 3ec44a4e6cfe4bfaab689e765ef3546d8dac730d /apps/gui/bitmap/list.c | |
| parent | 47c8d3c14d8fdaf4749ef5e0380fb0c52140b5fb (diff) | |
| download | rockbox-1c5d0b41eebdb4f8c627b1a0e5f7b699f0b08fb8.zip rockbox-1c5d0b41eebdb4f8c627b1a0e5f7b699f0b08fb8.tar.gz rockbox-1c5d0b41eebdb4f8c627b1a0e5f7b699f0b08fb8.tar.bz2 rockbox-1c5d0b41eebdb4f8c627b1a0e5f7b699f0b08fb8.tar.xz | |
scroll_engine: Rename scroll_stop* functions to be more consistent with the lcd api.
Change-Id: I8ada10b96bfb628cca0331689e8b936ae47c7e1c
Diffstat (limited to 'apps/gui/bitmap/list.c')
| -rw-r--r-- | apps/gui/bitmap/list.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/apps/gui/bitmap/list.c b/apps/gui/bitmap/list.c index 191446e..79eec60 100644 --- a/apps/gui/bitmap/list.c +++ b/apps/gui/bitmap/list.c @@ -61,9 +61,9 @@ void gui_synclist_scroll_stop(struct gui_synclist *lists) { 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]); + screens[i].scroll_stop_viewport(&list_text[i]); + screens[i].scroll_stop_viewport(&title_text[i]); + screens[i].scroll_stop_viewport(lists->parent[i]); } } @@ -100,7 +100,7 @@ static bool draw_title(struct screen *display, struct gui_synclist *list) if (sb_set_title_text(list->title, list->title_icon, screen)) return false; /* the sbs is handling the title */ - display->scroll_stop(title_text_vp); + display->scroll_stop_viewport(title_text_vp); if (!list_display_title(list, screen)) return false; *title_text_vp = *(list->parent[screen]); @@ -160,7 +160,7 @@ void list_draw(struct screen *display, struct gui_synclist *list) line_height = parent->line_height; display->set_viewport(parent); display->clear_viewport(); - display->scroll_stop(list_text_vp); + display->scroll_stop_viewport(list_text_vp); *list_text_vp = *parent; list_text_vp->line_height = line_height; if ((show_title = draw_title(display, list))) |