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)
downloadrockbox-4a4699692270906976a9bc99d4c11f625fd756c6.tar.gz
rockbox-4a4699692270906976a9bc99d4c11f625fd756c6.zip
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:
47 47
48 QString id(int index){ return indices.key(index, ""); } 48 QString id(int index){ return indices.key(index, ""); }
49 QString name(int index){ return entries[index].name; } 49 QString name(int index){ return entries[index].name; }
50 QRect screenSize(int index){ return entries[index].size; }
51 QRect remoteSize(int index){ return entries[index].rSize; }
52 ScreenDepth screenDepth(int index){ return entries[index].depth; }
53 ScreenDepth remoteDepth(int index){ return entries[index].rDepth; }
54 bool fm(int index){ return entries[index].fm; }
50 55
51private: 56private:
52 struct Entry 57 struct Entry