From d5df5f63fd0417a2c540bb200593c74a950029c6 Mon Sep 17 00:00:00 2001 From: Jonathan Gordon Date: Sun, 19 Nov 2006 14:39:02 +0000 Subject: [PATCH] please, oh please give me a green build so I can goto bed git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11554 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/splitedit.c | 6 +++--- apps/plugins/video.c | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/apps/plugins/splitedit.c b/apps/plugins/splitedit.c index 3d422ecb6c..b2c704d2d9 100644 --- a/apps/plugins/splitedit.c +++ b/apps/plugins/splitedit.c @@ -225,9 +225,9 @@ static void update_data(void) */ static void update_timebar(struct mp3entry *mp3) { - rb->scrollbar + rb->gui_scrollbar_draw ( - 0, TIMEBAR_Y, LCD_WIDTH, TIMEBAR_HEIGHT, + rb->screens[SCREEN_MAIN],0, TIMEBAR_Y, LCD_WIDTH, TIMEBAR_HEIGHT, mp3->length, range_start, range_end, HORIZONTAL ); @@ -604,7 +604,7 @@ static int copy_file( return -1; } - rb->gui_scrollbar_draw(&rb->screens[SCREEN_MAIN],0, prg_y, LCD_WIDTH, + rb->gui_scrollbar_draw(rb->screens[SCREEN_MAIN],0, prg_y, LCD_WIDTH, prg_h, bytes, 0, i, HORIZONTAL); rb->lcd_update_rect(0, prg_y, LCD_WIDTH, prg_h); } diff --git a/apps/plugins/video.c b/apps/plugins/video.c index 5891740bfa..6cdf92e924 100644 --- a/apps/plugins/video.c +++ b/apps/plugins/video.c @@ -11,7 +11,7 @@ * Reads raw image data + audio data from a file * !!!!!!!!!! Code Police free zone !!!!!!!!!! * -* Copyright (C) 2003-2004 Jörg Hohensohn aka [IDC]Dragon +* Copyright (C) 2003-2004 J�g Hohensohn aka [IDC]Dragon * * All files in this archive are subject to the GNU General Public License. * See the file COPYING in the source tree root for full license agreement. @@ -255,7 +255,7 @@ void DrawPosition(int pos, int total) /* draw a slider over the rest of the line */ rb->lcd_getstringsize(gPrint, &w, &h); w++; - rb->gui_scrollbar_draw(&rb->screens[SCREEN_MAIN],w, LCD_HEIGHT-7, LCD_WIDTH-w, + 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 */