summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2010-06-07 10:45:15 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2010-06-07 10:45:15 +0000
commit9f2bd9893b6b1bc000fae3df10c634ea1698b81d (patch)
tree41a23d5b39ce17777f81f387188078186832feb5
parent40e73255a9469c0f1509122d7dd20a10df340a5b (diff)
downloadrockbox-9f2bd9893b6b1bc000fae3df10c634ea1698b81d.tar.gz
rockbox-9f2bd9893b6b1bc000fae3df10c634ea1698b81d.tar.bz2
rockbox-9f2bd9893b6b1bc000fae3df10c634ea1698b81d.zip
add the Vf and Vb colour tags to the theme editor
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26652 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--utils/themeeditor/tag_table.c5
-rw-r--r--utils/themeeditor/tag_table.h2
2 files changed, 6 insertions, 1 deletions
diff --git a/utils/themeeditor/tag_table.c b/utils/themeeditor/tag_table.c
index 770db35123..0522da9adf 100644
--- a/utils/themeeditor/tag_table.c
+++ b/utils/themeeditor/tag_table.c
@@ -182,9 +182,12 @@ struct tag_info legal_tags[] =
{ SKIN_TOKEN_LIST_TITLE_TEXT, "Lt" , ""},
{ SKIN_TOKEN_LIST_TITLE_ICON, "Li" , ""},
- { SKIN_TOKEN_VIEWPORT_LOAD, "V" , "IIiii|ii"},
+ { SKIN_TOKEN_VIEWPORT_FGCOLOUR, "Vf" , "I"},
+ { SKIN_TOKEN_VIEWPORT_BGCOLOUR, "Vb" , "I"},
+
{ SKIN_TOKEN_VIEWPORT_CONDITIONAL, "Vl" , "SIIiii|ii"},
{ SKIN_TOKEN_UIVIEWPORT_LOAD, "Vi" , "sIIiii|ii"},
+ { SKIN_TOKEN_VIEWPORT_LOAD, "V" , "IIiii|ii"},
{ SKIN_TOKEN_IMAGE_BACKDROP, "X" , "f"},
diff --git a/utils/themeeditor/tag_table.h b/utils/themeeditor/tag_table.h
index b09e85204d..4b11a6fbcf 100644
--- a/utils/themeeditor/tag_table.h
+++ b/utils/themeeditor/tag_table.h
@@ -64,6 +64,8 @@ enum skin_token_type {
SKIN_TOKEN_VIEWPORT_CUSTOMLIST,
SKIN_TOKEN_UIVIEWPORT_ENABLE,
SKIN_TOKEN_UIVIEWPORT_LOAD,
+ SKIN_TOKEN_VIEWPORT_FGCOLOUR,
+ SKIN_TOKEN_VIEWPORT_BGCOLOUR,
/* Battery */
TOKEN_MARKER_BATTERY,