Canvas: update for SimGear changes.
This commit is contained in:
parent
2a6f95894b
commit
df7e56b049
1 changed files with 2 additions and 2 deletions
|
@ -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>()
|
||||
|
|
Loading…
Add table
Reference in a new issue