1
0
Fork 0
forked from len0rd/rockbox

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
This commit is contained in:
Jonathan Gordon 2006-11-19 14:39:02 +00:00
parent 6e2778b079
commit d5df5f63fd
2 changed files with 5 additions and 5 deletions

View file

@ -225,9 +225,9 @@ static void update_data(void)
*/ */
static void update_timebar(struct mp3entry *mp3) 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, mp3->length, range_start, range_end,
HORIZONTAL HORIZONTAL
); );
@ -604,7 +604,7 @@ static int copy_file(
return -1; 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); prg_h, bytes, 0, i, HORIZONTAL);
rb->lcd_update_rect(0, prg_y, LCD_WIDTH, prg_h); rb->lcd_update_rect(0, prg_y, LCD_WIDTH, prg_h);
} }

View file

@ -11,7 +11,7 @@
* Reads raw image data + audio data from a file * Reads raw image data + audio data from a file
* !!!!!!!!!! Code Police free zone !!!!!!!!!! * !!!!!!!!!! Code Police free zone !!!!!!!!!!
* *
* Copyright (C) 2003-2004 Jörg Hohensohn aka [IDC]Dragon * Copyright (C) 2003-2004 J<EFBFBD>g Hohensohn aka [IDC]Dragon
* *
* All files in this archive are subject to the GNU General Public License. * 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. * 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 */ /* draw a slider over the rest of the line */
rb->lcd_getstringsize(gPrint, &w, &h); rb->lcd_getstringsize(gPrint, &w, &h);
w++; 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); 7, total, 0, pos, HORIZONTAL);
if (gPlay.state == paused) /* we have to draw ourselves */ if (gPlay.state == paused) /* we have to draw ourselves */