diff options
author | Robert Bieber <robby@bieberphoto.com> | 2010-06-24 18:55:04 +0000 |
---|---|---|
committer | Robert Bieber <robby@bieberphoto.com> | 2010-06-24 18:55:04 +0000 |
commit | 481bcf263292d2eeb13891ae5a4ff0116d7e7c50 (patch) | |
tree | cdb01226f2d303c372893f2d9f230cfc90069b6c /utils/themeeditor/graphics/rbscreen.h | |
parent | d7ee0fe076e5fd15c9bf1d46af266a5871dbe3c7 (diff) |
Theme Editor: Renderer now allows multiple viewports to share an identifier
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27112 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'utils/themeeditor/graphics/rbscreen.h')
-rw-r--r-- | utils/themeeditor/graphics/rbscreen.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/utils/themeeditor/graphics/rbscreen.h b/utils/themeeditor/graphics/rbscreen.h index 95a110a4d5..f35aef680b 100644 --- a/utils/themeeditor/graphics/rbscreen.h +++ b/utils/themeeditor/graphics/rbscreen.h @@ -46,10 +46,7 @@ public: int getWidth() const{ return width; } int getHeight() const{ return height; } - void loadViewport(QString name, RBViewport* view) - { - namedViewports.insert(name, view); - } + void loadViewport(QString name, RBViewport* view); void showViewport(QString name); void loadImage(QString name, RBImage* image) @@ -78,7 +75,7 @@ private: ProjectModel* project; - QMap<QString, RBViewport*> namedViewports; + QMap<QString, QList<RBViewport*>*> namedViewports; QMap<QString, RBImage*> images; QMap<QString, QString>* settings; QMap<int, RBFont*> fonts; |