summaryrefslogtreecommitdiffstats
path: root/utils/themeeditor/graphics/rbfont.h
diff options
context:
space:
mode:
Diffstat (limited to 'utils/themeeditor/graphics/rbfont.h')
-rw-r--r--utils/themeeditor/graphics/rbfont.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/utils/themeeditor/graphics/rbfont.h b/utils/themeeditor/graphics/rbfont.h
index a1d66f22d4..61a171e081 100644
--- a/utils/themeeditor/graphics/rbfont.h
+++ b/utils/themeeditor/graphics/rbfont.h
@@ -24,6 +24,7 @@
#include <QString>
#include <QFile>
+#include <QGraphicsSimpleTextItem>
class RBFont
{
@@ -31,6 +32,10 @@ public:
RBFont(QString file);
virtual ~RBFont();
+ QGraphicsSimpleTextItem* renderText(QString text, QColor color,
+ QGraphicsItem* parent = 0);
+ int lineHeight(){ return 8; }
+
private:
QString filename;
};