mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-11 06:02:37 -05:00
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:
parent
ce5ee193d4
commit
3214e3710a
6 changed files with 59 additions and 38 deletions
|
|
@ -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(); }
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue