summaryrefslogtreecommitdiffstats
path: root/utils/themeeditor/graphics
diff options
context:
space:
mode:
authorRobert Bieber <robby@bieberphoto.com>2011-01-22 08:45:59 +0000
committerRobert Bieber <robby@bieberphoto.com>2011-01-22 08:45:59 +0000
commit5729be4017c6e6081069c56637c4339aaddddd0b (patch)
treef97d8de5667c4b09677f14d3d649b8441a248c43 /utils/themeeditor/graphics
parent30b29f1866c0f1899698e01708015c6e68dd9014 (diff)
downloadrockbox-5729be4017c6e6081069c56637c4339aaddddd0b.tar.gz
rockbox-5729be4017c6e6081069c56637c4339aaddddd0b.tar.bz2
rockbox-5729be4017c6e6081069c56637c4339aaddddd0b.zip
Theme Editor: Updated rendering code to accomodate new format for %xd tags, including long names, numerical tile specification, tag-evaluating tile specification, and tile offset
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29107 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'utils/themeeditor/graphics')
-rw-r--r--utils/themeeditor/graphics/rbimage.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/utils/themeeditor/graphics/rbimage.h b/utils/themeeditor/graphics/rbimage.h
index f89213bb33..6caddae399 100644
--- a/utils/themeeditor/graphics/rbimage.h
+++ b/utils/themeeditor/graphics/rbimage.h
@@ -47,6 +47,11 @@ public:
currentTile = tiles -1;
}
+ int numTiles()
+ {
+ return tiles;
+ }
+
void enableMovement()
{
setFlag(ItemSendsGeometryChanges, true);