Howto:Prototyping new Nasal based Canvas Elements: Difference between revisions

From FlightGear wiki
Jump to navigation Jump to search
(https://sourceforge.net/p/flightgear/flightgear/ci/next/tree/src/Scripting/NasalCanvas.cxx#l486)
 
Line 18: Line 18:
== Motivation ==
== Motivation ==


== See also ==
* [Canvas.Element baseclass https://sourceforge.net/p/flightgear/flightgear/ci/next/tree/src/Scripting/NasalCanvas.cxx#l486]
* [https://sourceforge.net/p/flightgear/simgear/ci/next/tree/simgear/canvas/elements/CanvasGroup.cxx#l37 Element registration]
== Related ==
== Related ==
{{Appendix}}
{{Appendix}}

Revision as of 16:23, 5 November 2017

This article is a stub. You can help the wiki by expanding it.

Idea

var myNewCanvasElement = {
new: func() {
var m = { parents:[Canvas.Element] };
return m;
},
del: func() {
},

};

Background

Motivation

See also

Related

References