mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
[Feature] skinengine subline timeout hide line for n seconds
builds on top of the file text patch to add hide timeouts to subline text tags this allows you to specify both a show time and hide time for these elements %t(show, hide) also removes the 327 second limit for timeouts whne this form is used Change-Id: If4598dcc24d0c7be4380e7595b7d91c7eba3a728
This commit is contained in:
parent
eb3e5eb2bf
commit
44bfffd7c5
33 changed files with 103 additions and 59 deletions
|
@ -50,6 +50,7 @@ static const struct tag_info legal_tags[] =
|
|||
TAG(SKIN_TOKEN_FILE_SIZE, "fs", "", SKIN_REFRESH_STATIC),
|
||||
TAG(SKIN_TOKEN_FILE_VBR, "fv", "", SKIN_REFRESH_STATIC),
|
||||
TAG(SKIN_TOKEN_FILE_DIRECTORY, "d" , "I", SKIN_REFRESH_STATIC),
|
||||
TAG(SKIN_TOKEN_FILE_TEXT, "ft" , "F|i", SKIN_REFRESH_STATIC),
|
||||
|
||||
TAG(SKIN_TOKEN_FILE_BITRATE, "Fb", "", SKIN_REFRESH_STATIC),
|
||||
TAG(SKIN_TOKEN_FILE_CODEC, "Fc", "", SKIN_REFRESH_STATIC),
|
||||
|
@ -191,7 +192,7 @@ static const struct tag_info legal_tags[] =
|
|||
TAG(SKIN_TOKEN_RDS_TEXT, "tz", "", SKIN_REFRESH_DYNAMIC),
|
||||
|
||||
TAG(SKIN_TOKEN_SUBLINE_SCROLL, "s", "", SKIN_REFRESH_SCROLL),
|
||||
TAG(SKIN_TOKEN_SUBLINE_TIMEOUT, "t" , "D", 0),
|
||||
TAG(SKIN_TOKEN_SUBLINE_TIMEOUT, "t" , "D|d", 0),
|
||||
|
||||
TAG(SKIN_TOKEN_ENABLE_THEME, "we", "", 0|NOBREAK),
|
||||
TAG(SKIN_TOKEN_DISABLE_THEME, "wd", "", 0|NOBREAK),
|
||||
|
|
|
@ -70,6 +70,7 @@ enum skin_token_type {
|
|||
|
||||
/* Sublines */
|
||||
SKIN_TOKEN_SUBLINE_TIMEOUT,
|
||||
SKIN_TOKEN_SUBLINE_TIMEOUT_HIDE, /* INTERNAL USE ONLY */
|
||||
SKIN_TOKEN_SUBLINE_SCROLL,
|
||||
|
||||
/* Conditional */
|
||||
|
@ -155,6 +156,7 @@ enum skin_token_type {
|
|||
SKIN_TOKEN_FILE_SIZE,
|
||||
SKIN_TOKEN_FILE_VBR,
|
||||
SKIN_TOKEN_FILE_DIRECTORY,
|
||||
SKIN_TOKEN_FILE_TEXT,
|
||||
|
||||
/* Image */
|
||||
SKIN_TOKEN_IMAGE_BACKDROP,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue