diff options
-rw-r--r-- | apps/plugins/splitedit.c | 6 | ||||
-rw-r--r-- | 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) | |||
225 | */ | 225 | */ |
226 | static void update_timebar(struct mp3entry *mp3) | 226 | static void update_timebar(struct mp3entry *mp3) |
227 | { | 227 | { |
228 | rb->scrollbar | 228 | rb->gui_scrollbar_draw |
229 | ( | 229 | ( |
230 | 0, TIMEBAR_Y, LCD_WIDTH, TIMEBAR_HEIGHT, | 230 | rb->screens[SCREEN_MAIN],0, TIMEBAR_Y, LCD_WIDTH, TIMEBAR_HEIGHT, |
231 | mp3->length, range_start, range_end, | 231 | mp3->length, range_start, range_end, |
232 | HORIZONTAL | 232 | HORIZONTAL |
233 | ); | 233 | ); |
@@ -604,7 +604,7 @@ static int copy_file( | |||
604 | return -1; | 604 | return -1; |
605 | } | 605 | } |
606 | 606 | ||
607 | rb->gui_scrollbar_draw(&rb->screens[SCREEN_MAIN],0, prg_y, LCD_WIDTH, | 607 | rb->gui_scrollbar_draw(rb->screens[SCREEN_MAIN],0, prg_y, LCD_WIDTH, |
608 | prg_h, bytes, 0, i, HORIZONTAL); | 608 | prg_h, bytes, 0, i, HORIZONTAL); |
609 | rb->lcd_update_rect(0, prg_y, LCD_WIDTH, prg_h); | 609 | rb->lcd_update_rect(0, prg_y, LCD_WIDTH, prg_h); |
610 | } | 610 | } |
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 @@ | |||
11 | * Reads raw image data + audio data from a file | 11 | * Reads raw image data + audio data from a file |
12 | * !!!!!!!!!! Code Police free zone !!!!!!!!!! | 12 | * !!!!!!!!!! Code Police free zone !!!!!!!!!! |
13 | * | 13 | * |
14 | * Copyright (C) 2003-2004 Jörg Hohensohn aka [IDC]Dragon | 14 | * Copyright (C) 2003-2004 J�g Hohensohn aka [IDC]Dragon |
15 | * | 15 | * |
16 | * All files in this archive are subject to the GNU General Public License. | 16 | * All files in this archive are subject to the GNU General Public License. |
17 | * See the file COPYING in the source tree root for full license agreement. | 17 | * See the file COPYING in the source tree root for full license agreement. |
@@ -255,7 +255,7 @@ void DrawPosition(int pos, int total) | |||
255 | /* draw a slider over the rest of the line */ | 255 | /* draw a slider over the rest of the line */ |
256 | rb->lcd_getstringsize(gPrint, &w, &h); | 256 | rb->lcd_getstringsize(gPrint, &w, &h); |
257 | w++; | 257 | w++; |
258 | rb->gui_scrollbar_draw(&rb->screens[SCREEN_MAIN],w, LCD_HEIGHT-7, LCD_WIDTH-w, | 258 | rb->gui_scrollbar_draw(rb->screens[SCREEN_MAIN],w, LCD_HEIGHT-7, LCD_WIDTH-w, |
259 | 7, total, 0, pos, HORIZONTAL); | 259 | 7, total, 0, pos, HORIZONTAL); |
260 | 260 | ||
261 | if (gPlay.state == paused) /* we have to draw ourselves */ | 261 | if (gPlay.state == paused) /* we have to draw ourselves */ |