summaryrefslogtreecommitdiffstats
path: root/lib/skin_parser/tag_table.h
diff options
context:
space:
mode:
authorFrank Gevaerts <frank@gevaerts.be>2012-02-25 02:34:23 +0100
committerFrank Gevaerts <frank@gevaerts.be>2012-02-25 16:43:27 +0100
commitb5cd5ce8a136e49b6c8b9d541a5b4928709a8956 (patch)
treee4fae006e0f11dbeb74881adbb79e379125abffa /lib/skin_parser/tag_table.h
parent7d599b43117dc82eae0e7dbf18290bcf4b73bc28 (diff)
downloadrockbox-b5cd5ce8a136e49b6c8b9d541a5b4928709a8956.tar.gz
rockbox-b5cd5ce8a136e49b6c8b9d541a5b4928709a8956.zip
Add %LR and %LC to get at the current row and columm in skinned lists.
This allows list items to be rendered differently depending on their on-screen position, allowing things like gradients or nonlinear alignment Change-Id: I1d9c080f97e83707f0e80f57abc762cb2b94f6ed
Diffstat (limited to 'lib/skin_parser/tag_table.h')
-rw-r--r--lib/skin_parser/tag_table.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/skin_parser/tag_table.h b/lib/skin_parser/tag_table.h
index 35316b749e..d14d31fcb2 100644
--- a/lib/skin_parser/tag_table.h
+++ b/lib/skin_parser/tag_table.h
@@ -219,6 +219,8 @@ enum skin_token_type {
SKIN_TOKEN_LIST_SELECTED_ITEM_CFG,
SKIN_TOKEN_LIST_ITEM_IS_SELECTED,
SKIN_TOKEN_LIST_ITEM_TEXT,
+ SKIN_TOKEN_LIST_ITEM_ROW,
+ SKIN_TOKEN_LIST_ITEM_COLUMN,
SKIN_TOKEN_LIST_ITEM_NUMBER,
SKIN_TOKEN_LIST_ITEM_ICON,
SKIN_TOKEN_LIST_NEEDS_SCROLLBAR,