summaryrefslogtreecommitdiffstats
path: root/utils/themeeditor/graphics/rbviewport.h
diff options
context:
space:
mode:
authorRobert Bieber <robby@bieberphoto.com>2010-08-04 09:16:52 +0000
committerRobert Bieber <robby@bieberphoto.com>2010-08-04 09:16:52 +0000
commit49865b23f601e636c9a80b21826fc607f1964eb5 (patch)
treeeb7959fd8aa5c572842e8d295440348cb17fc3cf /utils/themeeditor/graphics/rbviewport.h
parent2db08d41536b875f35b055f8e0bb3845b47a7ba3 (diff)
downloadrockbox-49865b23f601e636c9a80b21826fc607f1964eb5.tar.gz
rockbox-49865b23f601e636c9a80b21826fc607f1964eb5.tar.bz2
rockbox-49865b23f601e636c9a80b21826fc607f1964eb5.zip
Theme Editor: Began implementing code generation for movable viewports
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27691 a1c6a512-1295-4272-9138-f99709370657
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 @@
class RBScreen;
class RBRenderInfo;
+class ParseTreeNode;
#include <QGraphicsItem>
+class SkinDocument;
+
class RBViewport : public RBMovable
{
public:
@@ -43,7 +46,8 @@ public:
static const double scrollRate;
- RBViewport(skin_element* node, const RBRenderInfo& info);
+ RBViewport(skin_element* node, const RBRenderInfo& info,
+ ParseTreeNode* pNode);
virtual ~RBViewport();
QPainterPath shape() const;
@@ -112,6 +116,10 @@ private:
RBText* rightGraphic;
double scrollTime;
+
+ int baseParam;
+ ParseTreeNode* node;
+ SkinDocument* doc;
};
#endif // RBVIEWPORT_H