NasalCanvas: Update for simgear changes.
This commit is contained in:
parent
741c3c892c
commit
b3946f08f9
1 changed files with 2 additions and 2 deletions
|
@ -48,7 +48,7 @@ extern naRef propNodeGhostCreate(naContext c, SGPropertyNode* n);
|
|||
namespace sc = simgear::canvas;
|
||||
|
||||
template<class Element>
|
||||
naRef elementGetNode(naContext c, Element& element)
|
||||
naRef elementGetNode(Element& element, naContext c)
|
||||
{
|
||||
return propNodeGhostCreate(c, element.getProps());
|
||||
}
|
||||
|
@ -196,7 +196,7 @@ naRef f_groupGetElementById(sc::Group& group, const nasal::CallContext& ctx)
|
|||
}
|
||||
|
||||
template<int Mask>
|
||||
naRef f_eventGetModifier(naContext, sc::MouseEvent& event)
|
||||
naRef f_eventGetModifier(sc::MouseEvent& event, naContext)
|
||||
{
|
||||
return naNum((event.getModifiers() & Mask) != 0);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue