diff options
| author | Robert Bieber <robby@bieberphoto.com> | 2010-07-21 07:45:29 +0000 |
|---|---|---|
| committer | Robert Bieber <robby@bieberphoto.com> | 2010-07-21 07:45:29 +0000 |
| commit | 7c52284b294cb33bc2e5d747e2e3c14d8ab937ae (patch) | |
| tree | ba7bbf82a8ca0852deee158068330365f0f97e97 /utils/themeeditor/models/targetdata.h | |
| parent | b72f475d44cf83c10c99eaf765b1c55cfdc00bb0 (diff) | |
| download | rockbox-7c52284b294cb33bc2e5d747e2e3c14d8ab937ae.zip rockbox-7c52284b294cb33bc2e5d747e2e3c14d8ab937ae.tar.gz rockbox-7c52284b294cb33bc2e5d747e2e3c14d8ab937ae.tar.bz2 rockbox-7c52284b294cb33bc2e5d747e2e3c14d8ab937ae.tar.xz | |
Theme Editor: Implemented download and decompression of font pack in the preferences dialog. Dialog will also allow the user to set a directory for a custom target database, but the update button doesn't work yet. Also fixed the file filters for open file/open project actions and resized the preferences dialog
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27509 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'utils/themeeditor/models/targetdata.h')
| -rw-r--r-- | utils/themeeditor/models/targetdata.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/utils/themeeditor/models/targetdata.h b/utils/themeeditor/models/targetdata.h index 09276c5..89bb78b 100644 --- a/utils/themeeditor/models/targetdata.h +++ b/utils/themeeditor/models/targetdata.h @@ -39,7 +39,7 @@ public: None }; - TargetData(QString file = ""); + TargetData(); virtual ~TargetData(); int count(){ return indices.count(); } @@ -57,11 +57,12 @@ public: private: struct Entry { - Entry(QString name, QRect size, ScreenDepth depth, QRect rSize, - ScreenDepth rDepth, bool fm, bool record) - : name(name), size(size), depth(depth), rSize(rSize), + Entry(QString id, QString name, QRect size, ScreenDepth depth, + QRect rSize, ScreenDepth rDepth, bool fm, bool record) + : id(id), name(name), size(size), depth(depth), rSize(rSize), rDepth(rDepth), fm(fm), record(record){ } + QString id; QString name; QRect size; ScreenDepth depth; |