diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/gui/skin_engine/skin_display.c | 2 | ||||
-rw-r--r-- | apps/gui/skin_engine/skin_display.h | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/apps/gui/skin_engine/skin_display.c b/apps/gui/skin_engine/skin_display.c index cef38892ff..3e3f203f9a 100644 --- a/apps/gui/skin_engine/skin_display.c +++ b/apps/gui/skin_engine/skin_display.c | |||
@@ -637,6 +637,7 @@ void draw_peakmeters(struct gui_wps *gwps, int line_number, | |||
637 | } | 637 | } |
638 | } | 638 | } |
639 | 639 | ||
640 | #ifdef HAVE_ALBUMART | ||
640 | /* Draw the album art bitmap from the given handle ID onto the given WPS. | 641 | /* Draw the album art bitmap from the given handle ID onto the given WPS. |
641 | Call with clear = true to clear the bitmap instead of drawing it. */ | 642 | Call with clear = true to clear the bitmap instead of drawing it. */ |
642 | void draw_album_art(struct gui_wps *gwps, int handle_id, bool clear) | 643 | 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) | |||
706 | gwps->display->set_drawmode(DRMODE_SOLID); | 707 | gwps->display->set_drawmode(DRMODE_SOLID); |
707 | } | 708 | } |
708 | } | 709 | } |
710 | #endif | ||
709 | 711 | ||
710 | bool skin_has_sbs(enum screen_type screen, struct wps_data *data) | 712 | bool skin_has_sbs(enum screen_type screen, struct wps_data *data) |
711 | { | 713 | { |
diff --git a/apps/gui/skin_engine/skin_display.h b/apps/gui/skin_engine/skin_display.h index 6226da3eec..5ca66fa3ba 100644 --- a/apps/gui/skin_engine/skin_display.h +++ b/apps/gui/skin_engine/skin_display.h | |||
@@ -54,8 +54,10 @@ void write_line(struct screen *display, struct align_pos *format_align, | |||
54 | int line, bool scroll, struct line_desc *line_desc); | 54 | int line, bool scroll, struct line_desc *line_desc); |
55 | void draw_peakmeters(struct gui_wps *gwps, int line_number, | 55 | void draw_peakmeters(struct gui_wps *gwps, int line_number, |
56 | struct viewport *viewport); | 56 | struct viewport *viewport); |
57 | #ifdef HAVE_ALBUMART | ||
57 | /* Draw the album art bitmap from the given handle ID onto the given Skin. | 58 | /* Draw the album art bitmap from the given handle ID onto the given Skin. |
58 | Call with clear = true to clear the bitmap instead of drawing it. */ | 59 | Call with clear = true to clear the bitmap instead of drawing it. */ |
59 | void draw_album_art(struct gui_wps *gwps, int handle_id, bool clear); | 60 | void draw_album_art(struct gui_wps *gwps, int handle_id, bool clear); |
61 | #endif | ||
60 | 62 | ||
61 | #endif | 63 | #endif |