diff options
Diffstat (limited to 'apps/plugins/jpeg.c')
-rw-r--r-- | apps/plugins/jpeg.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/jpeg.c b/apps/plugins/jpeg.c index 81b5098a2a..878c94408e 100644 --- a/apps/plugins/jpeg.c +++ b/apps/plugins/jpeg.c | |||
@@ -2386,7 +2386,7 @@ void cb_progess(int current, int total) | |||
2386 | rb->yield(); /* be nice to the other threads */ | 2386 | rb->yield(); /* be nice to the other threads */ |
2387 | if(!running_slideshow) | 2387 | if(!running_slideshow) |
2388 | { | 2388 | { |
2389 | rb->scrollbar(0, LCD_HEIGHT-8, LCD_WIDTH, 8, total, 0, | 2389 | rb->gui_scrollbar_draw(rb->screens[SCREEN_MAIN],0, LCD_HEIGHT-8, LCD_WIDTH, 8, total, 0, |
2390 | current, HORIZONTAL); | 2390 | current, HORIZONTAL); |
2391 | rb->lcd_update_rect(0, LCD_HEIGHT-8, LCD_WIDTH, 8); | 2391 | rb->lcd_update_rect(0, LCD_HEIGHT-8, LCD_WIDTH, 8); |
2392 | } | 2392 | } |
@@ -2394,7 +2394,7 @@ void cb_progess(int current, int total) | |||
2394 | else | 2394 | else |
2395 | { | 2395 | { |
2396 | /* in slideshow mode, keep gui interference to a minimum */ | 2396 | /* in slideshow mode, keep gui interference to a minimum */ |
2397 | rb->scrollbar(0, LCD_HEIGHT-4, LCD_WIDTH, 4, total, 0, | 2397 | rb->gui_scrollbar_draw(rb->screens[SCREEN_MAIN],0, LCD_HEIGHT-4, LCD_WIDTH, 4, total, 0, |
2398 | current, HORIZONTAL); | 2398 | current, HORIZONTAL); |
2399 | rb->lcd_update_rect(0, LCD_HEIGHT-4, LCD_WIDTH, 4); | 2399 | rb->lcd_update_rect(0, LCD_HEIGHT-4, LCD_WIDTH, 4); |
2400 | } | 2400 | } |