summaryrefslogtreecommitdiff
path: root/apps/gui/skin_engine/skin_display.h
diff options
context:
space:
mode:
authorAidan MacDonald <amachronic@protonmail.com>2022-10-02 18:02:27 +0100
committerAidan MacDonald <amachronic@protonmail.com>2022-10-17 14:29:12 +0100
commitc6ee9dc8833814bf628ea5ce53e91c60067c5a06 (patch)
tree9a4680c1e1eca4763e98c215acc39a99200fbed7 /apps/gui/skin_engine/skin_display.h
parent4bd97c653558bde62237f095a6b9810fb5d16491 (diff)
downloadrockbox-c6ee9dc8833814bf628ea5ce53e91c60067c5a06.tar.gz
rockbox-c6ee9dc8833814bf628ea5ce53e91c60067c5a06.zip
Limit exposure of skin engine internals
Drop wps_internals.h from skin_engine.h. The WPS and to a lesser extent the radio screen are too tightly integrated to drop their dependency on wps_internals.h, unfortunately. Skinned lists, for obvious reasons, also need access to the internals. Change-Id: I00a55aa423900f9ad22edccbe2fc1910af380e38
Diffstat (limited to 'apps/gui/skin_engine/skin_display.h')
-rw-r--r--apps/gui/skin_engine/skin_display.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/gui/skin_engine/skin_display.h b/apps/gui/skin_engine/skin_display.h
index de1b0b20b5..6226da3eec 100644
--- a/apps/gui/skin_engine/skin_display.h
+++ b/apps/gui/skin_engine/skin_display.h
@@ -54,4 +54,8 @@ 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);
55void draw_peakmeters(struct gui_wps *gwps, int line_number, 55void draw_peakmeters(struct gui_wps *gwps, int line_number,
56 struct viewport *viewport); 56 struct viewport *viewport);
57/* 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. */
59void draw_album_art(struct gui_wps *gwps, int handle_id, bool clear);
60
57#endif 61#endif