summaryrefslogtreecommitdiff
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 @@
24 24
25#include <QString> 25#include <QString>
26#include <QFile> 26#include <QFile>
27#include <QGraphicsSimpleTextItem>
27 28
28class RBFont 29class RBFont
29{ 30{
@@ -31,6 +32,10 @@ public:
31 RBFont(QString file); 32 RBFont(QString file);
32 virtual ~RBFont(); 33 virtual ~RBFont();
33 34
35 QGraphicsSimpleTextItem* renderText(QString text, QColor color,
36 QGraphicsItem* parent = 0);
37 int lineHeight(){ return 8; }
38
34private: 39private:
35 QString filename; 40 QString filename;
36}; 41};