summaryrefslogtreecommitdiffstats
path: root/apps/wps-display.h
diff options
context:
space:
mode:
authorChristi Scarborough <christi@coraline.org>2005-07-05 22:27:54 +0000
committerChristi Scarborough <christi@coraline.org>2005-07-05 22:27:54 +0000
commitbe7894509feb701630efa4a1a18a5af621068bac (patch)
tree19d18fd09ac3de9df25473091c423245668a40f8 /apps/wps-display.h
parent5081182fe13f1158d41138b79985dff8b0632ca1 (diff)
downloadrockbox-be7894509feb701630efa4a1a18a5af621068bac.tar.gz
rockbox-be7894509feb701630efa4a1a18a5af621068bac.zip
(1) Patch 1231281: Alignment tags for the WPS by Per Holmaeng. Use %al for left align, %ac for centre, %ar for right. It is currently not possible to use more than one %a? tag per WPS line. (2) Lots of tabs removed.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7034 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/wps-display.h')
-rw-r--r--apps/wps-display.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/wps-display.h b/apps/wps-display.h
index 2c5651fbe2..b23c0d603d 100644
--- a/apps/wps-display.h
+++ b/apps/wps-display.h
@@ -32,6 +32,11 @@
/* to refresh only those lines that change over time */
#define WPS_REFRESH_NON_STATIC (WPS_REFRESH_ALL & ~WPS_REFRESH_STATIC & ~WPS_REFRESH_SCROLL)
+/* alignments */
+#define WPS_ALIGN_RIGHT 32
+#define WPS_ALIGN_CENTER 64
+#define WPS_ALIGN_LEFT 128
+
void wps_format_time(char* buf, int buf_size, long time);
bool wps_refresh(struct mp3entry* id3, struct mp3entry* nid3,