forked from len0rd/rockbox
Allow setting a margin on a non-scrolling line by using %m|margin| instead of %s|margin|. This allows to easily place dynamic info next to album art.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15610 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
bb999f9eb3
commit
f554e00b61
4 changed files with 14 additions and 8 deletions
|
|
@ -81,6 +81,11 @@ static void dump_wps_tokens(struct wps_data *data)
|
|||
case WPS_TOKEN_ALIGN_RIGHT:
|
||||
snprintf(buf, sizeof(buf), "align right");
|
||||
break;
|
||||
|
||||
case WPS_TOKEN_LEFTMARGIN:
|
||||
snprintf(buf, sizeof(buf), "left margin, value: %d",
|
||||
token->value.i);
|
||||
break;
|
||||
#endif
|
||||
|
||||
case WPS_TOKEN_SUBLINE_TIMEOUT:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue