From 8d5a6609a33f3269bc80975b81e0e859a056d952 Mon Sep 17 00:00:00 2001 From: Brandon Low Date: Sat, 21 Jan 2006 23:43:57 +0000 Subject: AB-repeat mode for software codecs. Accessible through menu as a repeat mode, with buttom mappings much like those on other rockbox targets for now. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8409 a1c6a512-1295-4272-9138-f99709370657 --- apps/gui/gwps-common.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'apps/gui/gwps-common.c') diff --git a/apps/gui/gwps-common.c b/apps/gui/gwps-common.c index b9b3e9bcd0..31b4de239f 100644 --- a/apps/gui/gwps-common.c +++ b/apps/gui/gwps-common.c @@ -31,6 +31,7 @@ #ifdef HAVE_LCD_CHARCELLS #include "hwcompat.h" #endif +#include "abrepeat.h" #include "mp3_playback.h" #include "backlight.h" #include "lang.h" @@ -1431,8 +1432,8 @@ bool gui_wps_refresh(struct gui_wps *gwps, int ffwd_offset, HORIZONTAL); #ifdef AB_REPEAT_ENABLE if ( ab_repeat_mode_enabled() ) - ab_draw_markers(state->id3->length, 0, sby, LCD_WIDTH, - PROGRESS_BAR_HEIGHT); + ab_draw_markers(display, state->id3->length, 0, sby, + PROGRESS_BAR_HEIGHT); #endif update_line = true; } -- cgit v1.2.3