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
This commit is contained in:
Robert Bieber 2010-07-07 06:50:30 +00:00
parent ce5ee193d4
commit 3214e3710a
6 changed files with 59 additions and 38 deletions

View file

@ -35,7 +35,7 @@ public:
RBFont(QString file);
virtual ~RBFont();
RBText* renderText(QString text, QColor color,
RBText* renderText(QString text, QColor color, int maxWidth,
QGraphicsItem* parent = 0);
int lineHeight(){ return header.value("height", 0).toInt(); }