summaryrefslogtreecommitdiff
path: root/apps/plugins/video.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/video.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/video.c')
-rw-r--r--apps/plugins/video.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/video.c b/apps/plugins/video.c
index e82ec1a..5891740 100644
--- a/apps/plugins/video.c
+++ b/apps/plugins/video.c
@@ -27,7 +27,6 @@
#include "plugin.h"
#include "sh7034.h"
#include "system.h"
-#include "../apps/recorder/widgets.h" /* not in search path, booh */
#ifndef SIMULATOR /* not for simulator by now */
#ifdef HAVE_LCD_BITMAP /* and definitely not for the Player, haha */
@@ -256,7 +255,8 @@ void DrawPosition(int pos, int total)
/* draw a slider over the rest of the line */
rb->lcd_getstringsize(gPrint, &w, &h);
w++;
- rb->scrollbar(w, LCD_HEIGHT-7, LCD_WIDTH-w, 7, total, 0, pos, HORIZONTAL);
+ rb->gui_scrollbar_draw(&rb->screens[SCREEN_MAIN],w, LCD_HEIGHT-7, LCD_WIDTH-w,
+ 7, total, 0, pos, HORIZONTAL);
if (gPlay.state == paused) /* we have to draw ourselves */
rb->lcd_update_rect(0, LCD_HEIGHT-8, LCD_WIDTH, 8);