summaryrefslogtreecommitdiffstats
path: root/utils/themeeditor/graphics/rbviewport.h
diff options
context:
space:
mode:
authorRobert Bieber <robby@bieberphoto.com>2010-07-07 06:50:30 +0000
committerRobert Bieber <robby@bieberphoto.com>2010-07-07 06:50:30 +0000
commit3214e3710ad0d73c1b775b8af002763cbb42382c (patch)
tree67355953e4e3079d0a3ab4ff688dfa6d413d6f36 /utils/themeeditor/graphics/rbviewport.h
parentce5ee193d41061a6b8c9a2b87dc8a43303f82ab9 (diff)
downloadrockbox-3214e3710ad0d73c1b775b8af002763cbb42382c.tar.gz
rockbox-3214e3710ad0d73c1b775b8af002763cbb42382c.tar.bz2
rockbox-3214e3710ad0d73c1b775b8af002763cbb42382c.zip
Theme Editor: Made all lines of text render as a single graphic, viewport size limits now enforced on text width
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27327 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'utils/themeeditor/graphics/rbviewport.h')
-rw-r--r--utils/themeeditor/graphics/rbviewport.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/utils/themeeditor/graphics/rbviewport.h b/utils/themeeditor/graphics/rbviewport.h
index 624a9686da..81841d5cfa 100644
--- a/utils/themeeditor/graphics/rbviewport.h
+++ b/utils/themeeditor/graphics/rbviewport.h
@@ -84,13 +84,17 @@ private:
RBScreen* screen;
- QList<QGraphicsItem*> leftText;
- QList<QGraphicsItem*> centerText;
- QList<QGraphicsItem*> rightText;
+ QString leftText;
+ QString centerText;
+ QString rightText;
Alignment textAlign;
bool showStatusBar;
QPixmap statusBarTexture;
+
+ RBText* leftGraphic;
+ RBText* centerGraphic;
+ RBText* rightGraphic;
};
#endif // RBVIEWPORT_H