diff options
author | Aidan MacDonald <amachronic@protonmail.com> | 2022-10-04 23:22:21 +0100 |
---|---|---|
committer | Aidan MacDonald <amachronic@protonmail.com> | 2022-11-15 14:20:31 +0000 |
commit | 73b1e30bb04d87144c4106ff7a9457507d191491 (patch) | |
tree | 377a307a2ba7f3065fa60cf316c20c01d03a2725 /apps/gui/statusbar-skinned.h | |
parent | 45bd4c7220280e3eafdd2722cc17c8db8617b676 (diff) | |
download | rockbox-73b1e30bb04d87144c4106ff7a9457507d191491.tar.gz rockbox-73b1e30bb04d87144c4106ff7a9457507d191491.zip |
skin engine: Reduce scope of internal wps_data struct
A bunch of public API calls take a wps_data struct argument,
but that's an internal type that doesn't have a direct getter.
Instead the skin engine provides a gui_wps struct as a way
to refer to a particular skin instance. Use that instead of
wps_data in the public API.
Change-Id: I13e1aa8df7f08ccfb789bb728d493ac8d7de1a9b
Diffstat (limited to 'apps/gui/statusbar-skinned.h')
-rw-r--r-- | apps/gui/statusbar-skinned.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/gui/statusbar-skinned.h b/apps/gui/statusbar-skinned.h index 8050f34235..e8fa14e676 100644 --- a/apps/gui/statusbar-skinned.h +++ b/apps/gui/statusbar-skinned.h | |||
@@ -30,6 +30,8 @@ | |||
30 | #include "icon.h" | 30 | #include "icon.h" |
31 | #include "skin_engine/skin_engine.h" | 31 | #include "skin_engine/skin_engine.h" |
32 | 32 | ||
33 | struct wps_data; | ||
34 | |||
33 | char* sb_create_from_settings(enum screen_type screen); | 35 | char* sb_create_from_settings(enum screen_type screen); |
34 | void sb_skin_init(void) INIT_ATTR; | 36 | void sb_skin_init(void) INIT_ATTR; |
35 | struct viewport *sb_skin_get_info_vp(enum screen_type screen); | 37 | struct viewport *sb_skin_get_info_vp(enum screen_type screen); |