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:
parent
2db08d4153
commit
49865b23f6
12 changed files with 104 additions and 23 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue