summaryrefslogtreecommitdiff
path: root/utils/themeeditor/graphics/rbviewport.h
diff options
context:
space:
mode:
Diffstat (limited to 'utils/themeeditor/graphics/rbviewport.h')
-rw-r--r--utils/themeeditor/graphics/rbviewport.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/utils/themeeditor/graphics/rbviewport.h b/utils/themeeditor/graphics/rbviewport.h
index 29d0b0a373..5726c5c256 100644
--- a/utils/themeeditor/graphics/rbviewport.h
+++ b/utils/themeeditor/graphics/rbviewport.h
@@ -23,6 +23,7 @@
23#define RBVIEWPORT_H 23#define RBVIEWPORT_H
24 24
25#include "skin_parser.h" 25#include "skin_parser.h"
26#include "rbfont.h"
26 27
27class RBScreen; 28class RBScreen;
28class RBRenderInfo; 29class RBRenderInfo;
@@ -45,16 +46,21 @@ public:
45 void makeCustomUI(){ customUI = true; } 46 void makeCustomUI(){ customUI = true; }
46 void clearCustomUI(){ customUI = false; } 47 void clearCustomUI(){ customUI = false; }
47 48
48 49 void newLine();
49 void newline(); 50 void write(QString text);
50 51
51private: 52private:
53
52 QRectF size; 54 QRectF size;
53 QColor background; 55 QColor background;
54 QColor foreground; 56 QColor foreground;
57 RBFont* font;
55 58
56 bool customUI; 59 bool customUI;
60 QPoint textOffset;
61 int lineHeight;
57 62
63 RBScreen* screen;
58}; 64};
59 65
60#endif // RBVIEWPORT_H 66#endif // RBVIEWPORT_H