summaryrefslogtreecommitdiff
path: root/apps/plugins/viewer.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/viewer.c
parent687328b7773ae917574841fa63326aa2bec264d6 (diff)
downloadrockbox-6288523cfee31a474435ce3445e67733f532d916.tar.gz
rockbox-6288523cfee31a474435ce3445e67733f532d916.zip
* 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/viewer.c')
-rw-r--r--apps/plugins/viewer.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/plugins/viewer.c b/apps/plugins/viewer.c
index af73257508..af795e736b 100644
--- a/apps/plugins/viewer.c
+++ b/apps/plugins/viewer.c
@@ -662,7 +662,8 @@ static void viewer_scrollbar(void) {
662 else 662 else
663 max_shown = min_shown + (next_screen_ptr - screen_top_ptr); 663 max_shown = min_shown + (next_screen_ptr - screen_top_ptr);
664 664
665 rb->scrollbar(0, 0, SCROLLBAR_WIDTH-1, LCD_HEIGHT, items, min_shown, max_shown, VERTICAL); 665 rb->gui_scrollbar_draw(rb->screens[SCREEN_MAIN],0, 0, SCROLLBAR_WIDTH-1,
666 LCD_HEIGHT, items, min_shown, max_shown, VERTICAL);
666} 667}
667#endif 668#endif
668 669