diff options
author | Brandon Low <lostlogic@rockbox.org> | 2006-01-21 23:43:57 +0000 |
---|---|---|
committer | Brandon Low <lostlogic@rockbox.org> | 2006-01-21 23:43:57 +0000 |
commit | 8d5a6609a33f3269bc80975b81e0e859a056d952 (patch) | |
tree | 9bef78c29941956fc6473f58e1657624c150f2d5 /apps/gui/gwps-common.c | |
parent | 0a9179cb0a4bda8191fcfcb45404ea361fcacdc5 (diff) | |
download | rockbox-8d5a6609a33f3269bc80975b81e0e859a056d952.tar.gz rockbox-8d5a6609a33f3269bc80975b81e0e859a056d952.zip |
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
Diffstat (limited to 'apps/gui/gwps-common.c')
-rw-r--r-- | apps/gui/gwps-common.c | 5 |
1 files changed, 3 insertions, 2 deletions
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 @@ | |||
31 | #ifdef HAVE_LCD_CHARCELLS | 31 | #ifdef HAVE_LCD_CHARCELLS |
32 | #include "hwcompat.h" | 32 | #include "hwcompat.h" |
33 | #endif | 33 | #endif |
34 | #include "abrepeat.h" | ||
34 | #include "mp3_playback.h" | 35 | #include "mp3_playback.h" |
35 | #include "backlight.h" | 36 | #include "backlight.h" |
36 | #include "lang.h" | 37 | #include "lang.h" |
@@ -1431,8 +1432,8 @@ bool gui_wps_refresh(struct gui_wps *gwps, int ffwd_offset, | |||
1431 | HORIZONTAL); | 1432 | HORIZONTAL); |
1432 | #ifdef AB_REPEAT_ENABLE | 1433 | #ifdef AB_REPEAT_ENABLE |
1433 | if ( ab_repeat_mode_enabled() ) | 1434 | if ( ab_repeat_mode_enabled() ) |
1434 | ab_draw_markers(state->id3->length, 0, sby, LCD_WIDTH, | 1435 | ab_draw_markers(display, state->id3->length, 0, sby, |
1435 | PROGRESS_BAR_HEIGHT); | 1436 | PROGRESS_BAR_HEIGHT); |
1436 | #endif | 1437 | #endif |
1437 | update_line = true; | 1438 | update_line = true; |
1438 | } | 1439 | } |