1
0
Fork 0

NasalCanvas: expose Element::getParent() to Nasal

This commit is contained in:
Thomas Geymayer 2013-10-23 17:11:56 +02:00
parent 2f51052860
commit 961905a6cf

View file

@ -229,6 +229,7 @@ naRef initNasalCanvas(naRef globals, naContext c)
.method("addEventListener", &sc::Canvas::addEventListener);
NasalElement::init("canvas.Element")
.member("_node_ghost", &elementGetNode<sc::Element>)
.method("_getParent", &sc::Element::getParent)
.method("addEventListener", &sc::Element::addEventListener)
.method("getTransformedBounds", &f_elementGetTransformedBounds);
NasalGroup::init("canvas.Group")