summaryrefslogtreecommitdiff
path: root/apps/gui/wps_debug.c
diff options
context:
space:
mode:
authorNicolas Pennequin <nicolas.pennequin@free.fr>2007-11-14 00:45:04 +0000
committerNicolas Pennequin <nicolas.pennequin@free.fr>2007-11-14 00:45:04 +0000
commitf554e00b61a2ecfdbf72314414947de57912fe02 (patch)
tree0d85793fbdfef3c4c7f44cb341e1d02614ab9e87 /apps/gui/wps_debug.c
parentbb999f9eb3aec0aa5b693a52b70090fb5f9caaf0 (diff)
downloadrockbox-f554e00b61a2ecfdbf72314414947de57912fe02.tar.gz
rockbox-f554e00b61a2ecfdbf72314414947de57912fe02.zip
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.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/gui/wps_debug.c b/apps/gui/wps_debug.c
index 883626d040..6b7b988321 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)
81 case WPS_TOKEN_ALIGN_RIGHT: 81 case WPS_TOKEN_ALIGN_RIGHT:
82 snprintf(buf, sizeof(buf), "align right"); 82 snprintf(buf, sizeof(buf), "align right");
83 break; 83 break;
84
85 case WPS_TOKEN_LEFTMARGIN:
86 snprintf(buf, sizeof(buf), "left margin, value: %d",
87 token->value.i);
88 break;
84#endif 89#endif
85 90
86 case WPS_TOKEN_SUBLINE_TIMEOUT: 91 case WPS_TOKEN_SUBLINE_TIMEOUT: