summaryrefslogtreecommitdiffstats
path: root/utils/themeeditor/graphics/rbimage.h
diff options
context:
space:
mode:
Diffstat (limited to 'utils/themeeditor/graphics/rbimage.h')
-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);