diff options
Diffstat (limited to 'apps/gui/skin_engine/skin_display.c')
-rw-r--r-- | apps/gui/skin_engine/skin_display.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/apps/gui/skin_engine/skin_display.c b/apps/gui/skin_engine/skin_display.c index 1a012dc1a6..2affd23c87 100644 --- a/apps/gui/skin_engine/skin_display.c +++ b/apps/gui/skin_engine/skin_display.c | |||
@@ -158,10 +158,11 @@ void ab_draw_markers(struct screen * screen, int capacity, | |||
158 | 158 | ||
159 | #endif | 159 | #endif |
160 | 160 | ||
161 | void draw_progressbar(struct gui_wps *gwps, int line, struct progressbar *pb) | 161 | void draw_progressbar(struct gui_wps *gwps, struct skin_viewport* skin_viewport, |
162 | int line, struct progressbar *pb) | ||
162 | { | 163 | { |
163 | struct screen *display = gwps->display; | 164 | struct screen *display = gwps->display; |
164 | struct viewport *vp = SKINOFFSETTOPTR(get_skin_buffer(gwps->data), pb->vp); | 165 | struct viewport *vp = &skin_viewport->vp; |
165 | struct wps_state *state = get_wps_state(); | 166 | struct wps_state *state = get_wps_state(); |
166 | struct mp3entry *id3 = state->id3; | 167 | struct mp3entry *id3 = state->id3; |
167 | int x = pb->x, y = pb->y, width = pb->width, height = pb->height; | 168 | int x = pb->x, y = pb->y, width = pb->width, height = pb->height; |