summaryrefslogtreecommitdiff
path: root/utils/themeeditor/models
diff options
context:
space:
mode:
authorRobert Bieber <robby@bieberphoto.com>2010-07-17 00:35:54 +0000
committerRobert Bieber <robby@bieberphoto.com>2010-07-17 00:35:54 +0000
commit4a4699692270906976a9bc99d4c11f625fd756c6 (patch)
treeeeb68f77beb19321b643860f1934ba7b15207e32 /utils/themeeditor/models
parent025147effbee00db8bae931b3ef3df25052e0d96 (diff)
Theme Editor: Integrated target db with project creation code. Now changing the target option in the New Project dialog will change the available options for wps documents, and the target id is stored in the new config file
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27451 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'utils/themeeditor/models')
-rw-r--r--utils/themeeditor/models/targetdata.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/utils/themeeditor/models/targetdata.h b/utils/themeeditor/models/targetdata.h
index 6178509514..ef7ac5c8a9 100644
--- a/utils/themeeditor/models/targetdata.h
+++ b/utils/themeeditor/models/targetdata.h
@@ -47,6 +47,11 @@ public:
QString id(int index){ return indices.key(index, ""); }
QString name(int index){ return entries[index].name; }
+ QRect screenSize(int index){ return entries[index].size; }
+ QRect remoteSize(int index){ return entries[index].rSize; }
+ ScreenDepth screenDepth(int index){ return entries[index].depth; }
+ ScreenDepth remoteDepth(int index){ return entries[index].rDepth; }
+ bool fm(int index){ return entries[index].fm; }
private:
struct Entry