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, 9 insertions, 1 deletions
diff --git a/utils/themeeditor/graphics/rbviewport.h b/utils/themeeditor/graphics/rbviewport.h
index b9bafe47d1..691133beeb 100644
--- a/utils/themeeditor/graphics/rbviewport.h
+++ b/utils/themeeditor/graphics/rbviewport.h
@@ -28,9 +28,12 @@
28 28
29class RBScreen; 29class RBScreen;
30class RBRenderInfo; 30class RBRenderInfo;
31class ParseTreeNode;
31 32
32#include <QGraphicsItem> 33#include <QGraphicsItem>
33 34
35class SkinDocument;
36
34class RBViewport : public RBMovable 37class RBViewport : public RBMovable
35{ 38{
36public: 39public:
@@ -43,7 +46,8 @@ public:
43 46
44 static const double scrollRate; 47 static const double scrollRate;
45 48
46 RBViewport(skin_element* node, const RBRenderInfo& info); 49 RBViewport(skin_element* node, const RBRenderInfo& info,
50 ParseTreeNode* pNode);
47 virtual ~RBViewport(); 51 virtual ~RBViewport();
48 52
49 QPainterPath shape() const; 53 QPainterPath shape() const;
@@ -112,6 +116,10 @@ private:
112 RBText* rightGraphic; 116 RBText* rightGraphic;
113 117
114 double scrollTime; 118 double scrollTime;
119
120 int baseParam;
121 ParseTreeNode* node;
122 SkinDocument* doc;
115}; 123};
116 124
117#endif // RBVIEWPORT_H 125#endif // RBVIEWPORT_H