diff options
author | Aidan MacDonald <amachronic@protonmail.com> | 2022-10-02 21:05:32 +0100 |
---|---|---|
committer | Aidan MacDonald <amachronic@protonmail.com> | 2022-10-18 12:56:28 +0100 |
commit | 14fbefdf390d397a13b31e2b58b4615d794ff709 (patch) | |
tree | 6718352d2d32505f6782c26348edec739aeaa0f9 /apps/gui/skin_engine/wps_internals.h | |
parent | 13da1ba785b1f06bacae06da422ac2cf2ea5eb76 (diff) | |
download | rockbox-14fbefdf390d397a13b31e2b58b4615d794ff709.tar.gz rockbox-14fbefdf390d397a13b31e2b58b4615d794ff709.zip |
Move skin global state to the WPS
This state is actually specific to the WPS and it makes more
sense to put it there.
Change-Id: I5dfee237fdcbae944806501ff3127a930820d68a
Diffstat (limited to 'apps/gui/skin_engine/wps_internals.h')
-rw-r--r-- | apps/gui/skin_engine/wps_internals.h | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/apps/gui/skin_engine/wps_internals.h b/apps/gui/skin_engine/wps_internals.h index 2aedff752b..0ae2e24235 100644 --- a/apps/gui/skin_engine/wps_internals.h +++ b/apps/gui/skin_engine/wps_internals.h | |||
@@ -393,28 +393,6 @@ static inline char* get_skin_buffer(struct wps_data* data) | |||
393 | 393 | ||
394 | /* wps_data end */ | 394 | /* wps_data end */ |
395 | 395 | ||
396 | /* wps_state | ||
397 | holds the data which belongs to the current played track, | ||
398 | the track which will be played afterwards, current path to the track | ||
399 | and some status infos */ | ||
400 | struct wps_state | ||
401 | { | ||
402 | struct mp3entry* id3; | ||
403 | struct mp3entry* nid3; | ||
404 | int ff_rewind_count; | ||
405 | bool paused; | ||
406 | }; | ||
407 | |||
408 | /* change the ff/rew-status | ||
409 | if ff_rew = true then we are in skipping mode | ||
410 | else we are in normal mode */ | ||
411 | /* void wps_state_update_ff_rew(bool ff_rew); Currently unused */ | ||
412 | |||
413 | /* change the tag-information of the current played track | ||
414 | and the following track */ | ||
415 | /* void wps_state_update_id3_nid3(struct mp3entry *id3, struct mp3entry *nid3); Currently unused */ | ||
416 | /* wps_state end*/ | ||
417 | |||
418 | /* gui_wps | 396 | /* gui_wps |
419 | defines a wps with its data, state, | 397 | defines a wps with its data, state, |
420 | and the screen on which the wps-content should be drawn */ | 398 | and the screen on which the wps-content should be drawn */ |