summaryrefslogtreecommitdiff
path: root/apps/plugins/jpeg.c
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2006-11-19 14:11:42 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2006-11-19 14:11:42 +0000
commit6288523cfee31a474435ce3445e67733f532d916 (patch)
tree1fe3350c1d27a0144492d64792cea78f6a833c73 /apps/plugins/jpeg.c
parent687328b7773ae917574841fa63326aa2bec264d6 (diff)
downloadrockbox-6288523cfee31a474435ce3445e67733f532d916.zip
rockbox-6288523cfee31a474435ce3445e67733f532d916.tar.gz
rockbox-6288523cfee31a474435ce3445e67733f532d916.tar.bz2
rockbox-6288523cfee31a474435ce3445e67733f532d916.tar.xz
* Move checkbox to plugin api (core never uses it)
* replace the last of the scrollbar() calls with gui_scrollbar_draw() git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11552 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/jpeg.c')
-rw-r--r--apps/plugins/jpeg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/jpeg.c b/apps/plugins/jpeg.c
index 81b5098..878c944 100644
--- a/apps/plugins/jpeg.c
+++ b/apps/plugins/jpeg.c
@@ -2386,7 +2386,7 @@ void cb_progess(int current, int total)
rb->yield(); /* be nice to the other threads */
if(!running_slideshow)
{
- rb->scrollbar(0, LCD_HEIGHT-8, LCD_WIDTH, 8, total, 0,
+ rb->gui_scrollbar_draw(rb->screens[SCREEN_MAIN],0, LCD_HEIGHT-8, LCD_WIDTH, 8, total, 0,
current, HORIZONTAL);
rb->lcd_update_rect(0, LCD_HEIGHT-8, LCD_WIDTH, 8);
}
@@ -2394,7 +2394,7 @@ void cb_progess(int current, int total)
else
{
/* in slideshow mode, keep gui interference to a minimum */
- rb->scrollbar(0, LCD_HEIGHT-4, LCD_WIDTH, 4, total, 0,
+ rb->gui_scrollbar_draw(rb->screens[SCREEN_MAIN],0, LCD_HEIGHT-4, LCD_WIDTH, 4, total, 0,
current, HORIZONTAL);
rb->lcd_update_rect(0, LCD_HEIGHT-4, LCD_WIDTH, 4);
}