summaryrefslogtreecommitdiff
path: root/utils/themeeditor/models/parsetreenode.h
diff options
context:
space:
mode:
authorRobert Bieber <robby@bieberphoto.com>2010-06-18 21:10:01 +0000
committerRobert Bieber <robby@bieberphoto.com>2010-06-18 21:10:01 +0000
commitd8827b5ff10c66a065a210d8aaf1d88214ee1070 (patch)
tree26a23ff031105ee98cbba967a4554ebf8ac423a6 /utils/themeeditor/models/parsetreenode.h
parent62622277dc2a11117605e5e7ff3d2a5f0423d8da (diff)
downloadrockbox-d8827b5ff10c66a065a210d8aaf1d88214ee1070.tar.gz
rockbox-d8827b5ff10c66a065a210d8aaf1d88214ee1070.zip
Theme Editor: Working on rendering viewports, display will now show %V(...) viewports as red rectangles over backdrop or background color
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26940 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'utils/themeeditor/models/parsetreenode.h')
-rw-r--r--utils/themeeditor/models/parsetreenode.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/utils/themeeditor/models/parsetreenode.h b/utils/themeeditor/models/parsetreenode.h
index 7a0807bb0d..bfbd5968d3 100644
--- a/utils/themeeditor/models/parsetreenode.h
+++ b/utils/themeeditor/models/parsetreenode.h
@@ -23,6 +23,9 @@
23#define PARSETREENODE_H 23#define PARSETREENODE_H
24 24
25#include "skin_parser.h" 25#include "skin_parser.h"
26#include "rbviewport.h"
27#include "rbscreen.h"
28#include "rbrenderinfo.h"
26 29
27#include <QString> 30#include <QString>
28#include <QVariant> 31#include <QVariant>
@@ -56,6 +59,8 @@ public:
56 return 0; 59 return 0;
57 } 60 }
58 61
62 void render(const RBRenderInfo& info);
63
59private: 64private:
60 ParseTreeNode* parent; 65 ParseTreeNode* parent;
61 struct skin_element* element; 66 struct skin_element* element;
@@ -63,6 +68,7 @@ private:
63 QList<ParseTreeNode*> children; 68 QList<ParseTreeNode*> children;
64 69
65 static int openConditionals; 70 static int openConditionals;
71 QGraphicsItem* rendered;
66 72
67}; 73};
68 74