diff options
| author | Nicolas Pennequin <nicolas.pennequin@free.fr> | 2007-11-14 00:45:04 +0000 |
|---|---|---|
| committer | Nicolas Pennequin <nicolas.pennequin@free.fr> | 2007-11-14 00:45:04 +0000 |
| commit | f554e00b61a2ecfdbf72314414947de57912fe02 (patch) | |
| tree | 0d85793fbdfef3c4c7f44cb341e1d02614ab9e87 /apps/gui/wps_debug.c | |
| parent | bb999f9eb3aec0aa5b693a52b70090fb5f9caaf0 (diff) | |
| download | rockbox-f554e00b61a2ecfdbf72314414947de57912fe02.zip rockbox-f554e00b61a2ecfdbf72314414947de57912fe02.tar.gz rockbox-f554e00b61a2ecfdbf72314414947de57912fe02.tar.bz2 rockbox-f554e00b61a2ecfdbf72314414947de57912fe02.tar.xz | |
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
Diffstat (limited to 'apps/gui/wps_debug.c')
| -rw-r--r-- | apps/gui/wps_debug.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/gui/wps_debug.c b/apps/gui/wps_debug.c index 883626d..6b7b988 100644 --- a/apps/gui/wps_debug.c +++ b/apps/gui/wps_debug.c @@ -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: |