1
0
Fork 0
forked from len0rd/rockbox

Theme Editor: Began implementing code generation for movable viewports

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27691 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Robert Bieber 2010-08-04 09:16:52 +00:00
parent 2db08d4153
commit 49865b23f6
12 changed files with 104 additions and 23 deletions

View file

@ -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