ab_repeat: Move GUI bits to the skin engine. This allows ab_repeat to be compiled headless.

Change-Id: I4fa3b8ef7139313891ca70df11f7f17c5df38cb7
This commit is contained in:
Thomas Martitz 2013-12-13 10:24:15 +01:00
parent 4262e648eb
commit 50f0dd80d6
3 changed files with 79 additions and 62 deletions

View file

@ -37,14 +37,13 @@ void ab_jump_to_A_marker(void);
void ab_reset_markers(void);
void ab_set_A_marker(unsigned int song_position);
void ab_set_B_marker(unsigned int song_position);
/* These return whether the marker are actually set.
* The actual positions are returned via output parameter */
bool ab_get_A_marker(unsigned int *song_position);
bool ab_get_B_marker(unsigned int *song_position);
#if (CONFIG_CODEC == SWCODEC)
void ab_end_of_track_report(void);
#endif
#ifdef HAVE_LCD_BITMAP
#include "screen_access.h"
void ab_draw_markers(struct screen * screen, int capacity,
int x, int y, int w, int h);
#endif
/* These functions really need to be inlined for speed */
extern unsigned int ab_A_marker;