Canvas API: access to canvas "desktop".
This commit is contained in:
parent
3450cfa0a7
commit
589d021e1c
1 changed files with 5 additions and 0 deletions
|
@ -966,6 +966,11 @@ var get = func(arg)
|
|||
return wrapCanvas(canvas_ghost);
|
||||
};
|
||||
|
||||
var getDesktop = func()
|
||||
{
|
||||
return Group.new(_getDesktopGhost());
|
||||
};
|
||||
|
||||
# ------------------------------------------------------------------------------
|
||||
# Show warnings if API used with too old version of FlightGear without Canvas
|
||||
# support (Wrapped in anonymous function do not polute the canvas namespace)
|
||||
|
|
Loading…
Reference in a new issue