summaryrefslogtreecommitdiffstats
path: root/utils/themeeditor/models/parsetreenode.cpp
diff options
context:
space:
mode:
authorRobert Bieber <robby@bieberphoto.com>2011-03-20 04:20:13 +0000
committerRobert Bieber <robby@bieberphoto.com>2011-03-20 04:20:13 +0000
commit5c47872b9c91d28268ccd27c2890a5642550ad4d (patch)
tree20c7fcfbadd601de288c5485c6b7e9417a2df4e9 /utils/themeeditor/models/parsetreenode.cpp
parentfa565048f6b6d1928a216246619ad52b607ac7c2 (diff)
downloadrockbox-5c47872b9c91d28268ccd27c2890a5642550ad4d.tar.gz
rockbox-5c47872b9c91d28268ccd27c2890a5642550ad4d.tar.bz2
rockbox-5c47872b9c91d28268ccd27c2890a5642550ad4d.zip
Theme Editor: Made touch area position relative to enclosing viewports
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29618 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'utils/themeeditor/models/parsetreenode.cpp')
-rw-r--r--utils/themeeditor/models/parsetreenode.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/utils/themeeditor/models/parsetreenode.cpp b/utils/themeeditor/models/parsetreenode.cpp
index 03f1b21444..1c7de7cc25 100644
--- a/utils/themeeditor/models/parsetreenode.cpp
+++ b/utils/themeeditor/models/parsetreenode.cpp
@@ -930,7 +930,8 @@ bool ParseTreeNode::execTag(const RBRenderInfo& info, RBViewport* viewport)
int width = element->params[2].data.number;
int height = element->params[3].data.number;
QString action(element->params[4].data.text);
- RBTouchArea* temp = new RBTouchArea(width, height, action, info);
+ RBTouchArea* temp = new RBTouchArea(width, height, action, info,
+ viewport);
temp->setPos(x, y);
return true;
}