diff options
Diffstat (limited to 'utils/themeeditor/graphics/rbfont.h')
-rw-r--r-- | utils/themeeditor/graphics/rbfont.h | 5 |
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 | ||
28 | class RBFont | 29 | class 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 | |||
34 | private: | 39 | private: |
35 | QString filename; | 40 | QString filename; |
36 | }; | 41 | }; |