1
0
Fork 0

Canvas: update for SimGear changes.

This commit is contained in:
Thomas Geymayer 2013-10-12 00:43:30 +02:00
parent 2a6f95894b
commit df7e56b049

View file

@ -226,10 +226,10 @@ naRef initNasalCanvas(naRef globals, naContext c, naRef gcSave)
.member("size_y", &sc::Canvas::getSizeY)
.method("_createGroup", &f_canvasCreateGroup)
.method("_getGroup", &sc::Canvas::getGroup)
.method("addEventListener", &sc::Canvas::addEventListener);
.method("addEventListener", &sc::Canvas::addNasalEventListener);
NasalElement::init("canvas.Element")
.member("_node_ghost", &elementGetNode<sc::Element>)
.method("addEventListener", &sc::Element::addEventListener)
.method("addEventListener", &sc::Element::addNasalEventListener)
.method("getTransformedBounds", &f_elementGetTransformedBounds);
NasalGroup::init("canvas.Group")
.bases<NasalElement>()