Fix red for !HAVE_ALBUMART targets (c6ee9dc883
)
Change-Id: Icdd6e051e5f9b31b287d53d9480f445df884d9d1
This commit is contained in:
parent
c6ee9dc883
commit
f805b492d5
2 changed files with 4 additions and 0 deletions
|
@ -637,6 +637,7 @@ void draw_peakmeters(struct gui_wps *gwps, int line_number,
|
|||
}
|
||||
}
|
||||
|
||||
#ifdef HAVE_ALBUMART
|
||||
/* Draw the album art bitmap from the given handle ID onto the given WPS.
|
||||
Call with clear = true to clear the bitmap instead of drawing it. */
|
||||
void draw_album_art(struct gui_wps *gwps, int handle_id, bool clear)
|
||||
|
@ -706,6 +707,7 @@ void draw_album_art(struct gui_wps *gwps, int handle_id, bool clear)
|
|||
gwps->display->set_drawmode(DRMODE_SOLID);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
bool skin_has_sbs(enum screen_type screen, struct wps_data *data)
|
||||
{
|
||||
|
|
|
@ -54,8 +54,10 @@ void write_line(struct screen *display, struct align_pos *format_align,
|
|||
int line, bool scroll, struct line_desc *line_desc);
|
||||
void draw_peakmeters(struct gui_wps *gwps, int line_number,
|
||||
struct viewport *viewport);
|
||||
#ifdef HAVE_ALBUMART
|
||||
/* Draw the album art bitmap from the given handle ID onto the given Skin.
|
||||
Call with clear = true to clear the bitmap instead of drawing it. */
|
||||
void draw_album_art(struct gui_wps *gwps, int handle_id, bool clear);
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue