diff options
Diffstat (limited to 'apps/gui/bitmap')
-rw-r--r-- | apps/gui/bitmap/list-skinned.c | 4 | ||||
-rw-r--r-- | apps/gui/bitmap/list.c | 10 |
2 files changed, 7 insertions, 7 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 | } |
diff --git a/apps/gui/bitmap/list.c b/apps/gui/bitmap/list.c index 191446e186..79eec60b26 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) | |||
61 | { | 61 | { |
62 | FOR_NB_SCREENS(i) | 62 | FOR_NB_SCREENS(i) |
63 | { | 63 | { |
64 | screens[i].scroll_stop(&list_text[i]); | 64 | screens[i].scroll_stop_viewport(&list_text[i]); |
65 | screens[i].scroll_stop(&title_text[i]); | 65 | screens[i].scroll_stop_viewport(&title_text[i]); |
66 | screens[i].scroll_stop(lists->parent[i]); | 66 | screens[i].scroll_stop_viewport(lists->parent[i]); |
67 | } | 67 | } |
68 | } | 68 | } |
69 | 69 | ||
@@ -100,7 +100,7 @@ static bool draw_title(struct screen *display, struct gui_synclist *list) | |||
100 | 100 | ||
101 | if (sb_set_title_text(list->title, list->title_icon, screen)) | 101 | if (sb_set_title_text(list->title, list->title_icon, screen)) |
102 | return false; /* the sbs is handling the title */ | 102 | return false; /* the sbs is handling the title */ |
103 | display->scroll_stop(title_text_vp); | 103 | display->scroll_stop_viewport(title_text_vp); |
104 | if (!list_display_title(list, screen)) | 104 | if (!list_display_title(list, screen)) |
105 | return false; | 105 | return false; |
106 | *title_text_vp = *(list->parent[screen]); | 106 | *title_text_vp = *(list->parent[screen]); |
@@ -160,7 +160,7 @@ void list_draw(struct screen *display, struct gui_synclist *list) | |||
160 | line_height = parent->line_height; | 160 | line_height = parent->line_height; |
161 | display->set_viewport(parent); | 161 | display->set_viewport(parent); |
162 | display->clear_viewport(); | 162 | display->clear_viewport(); |
163 | display->scroll_stop(list_text_vp); | 163 | display->scroll_stop_viewport(list_text_vp); |
164 | *list_text_vp = *parent; | 164 | *list_text_vp = *parent; |
165 | list_text_vp->line_height = line_height; | 165 | list_text_vp->line_height = line_height; |
166 | if ((show_title = draw_title(display, list))) | 166 | if ((show_title = draw_title(display, list))) |