From f554e00b61a2ecfdbf72314414947de57912fe02 Mon Sep 17 00:00:00 2001 From: Nicolas Pennequin Date: Wed, 14 Nov 2007 00:45:04 +0000 Subject: 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 --- apps/gui/wps_debug.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'apps/gui/wps_debug.c') 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) 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: -- cgit v1.2.3