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-skinned.c | |
parent | 47c8d3c14d8fdaf4749ef5e0380fb0c52140b5fb (diff) | |
download | rockbox-1c5d0b41eebdb4f8c627b1a0e5f7b699f0b08fb8.tar.gz rockbox-1c5d0b41eebdb4f8c627b1a0e5f7b699f0b08fb8.zip |
scroll_engine: Rename scroll_stop* functions to be more consistent with the lcd api.
Change-Id: I8ada10b96bfb628cca0331689e8b936ae47c7e1c
Diffstat (limited to 'apps/gui/bitmap/list-skinned.c')
-rw-r--r-- | apps/gui/bitmap/list-skinned.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/gui/bitmap/list-skinned.c b/apps/gui/bitmap/list-skinned.c index d0803b5dc8..d6b868ae26 100644 --- a/apps/gui/bitmap/list-skinned.c +++ b/apps/gui/bitmap/list-skinned.c | |||
@@ -54,7 +54,7 @@ void skinlist_set_cfg(enum screen_type screen, | |||
54 | if (listcfg[screen] != cfg) | 54 | if (listcfg[screen] != cfg) |
55 | { | 55 | { |
56 | if (listcfg[screen]) | 56 | if (listcfg[screen]) |
57 | screens[screen].scroll_stop(&listcfg[screen]->selected_item_vp.vp); | 57 | screens[screen].scroll_stop_viewport(&listcfg[screen]->selected_item_vp.vp); |
58 | listcfg[screen] = cfg; | 58 | listcfg[screen] = cfg; |
59 | current_list = NULL; | 59 | current_list = NULL; |
60 | current_column = -1; | 60 | current_column = -1; |
@@ -269,7 +269,7 @@ bool skinlist_draw(struct screen *display, struct gui_synclist *list) | |||
269 | /* force disableing scroll because it breaks later */ | 269 | /* force disableing scroll because it breaks later */ |
270 | if (!is_selected) | 270 | if (!is_selected) |
271 | { | 271 | { |
272 | display->scroll_stop(&skin_viewport->vp); | 272 | display->scroll_stop_viewport(&skin_viewport->vp); |
273 | skin_viewport->vp.x = original_x; | 273 | skin_viewport->vp.x = original_x; |
274 | skin_viewport->vp.y = original_y; | 274 | skin_viewport->vp.y = original_y; |
275 | } | 275 | } |