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

From FlightGear wiki
Jump to navigation Jump to search
Line 19: Line 19:


== See also ==
== See also ==
* [https://sourceforge.net/p/flightgear/flightgear/ci/next/tree/src/Scripting/NasalCanvas.cxx#l486 Canvas.Element baseclass ]
* [https://sourceforge.net/p/flightgear/flightgear/ci/next/tree/src/Scripting/NasalCanvas.cxx#l486 Canvas.Element baseclass]
* [https://sourceforge.net/p/flightgear/simgear/ci/next/tree/simgear/canvas/elements/CanvasGroup.cxx#l37 Element registration]
* [https://sourceforge.net/p/flightgear/simgear/ci/next/tree/simgear/canvas/elements/CanvasGroup.cxx#l37 Element registration]
* [http://api-docs.freeflightsim.org/simgear/classsimgear_1_1canvas_1_1NasalWidget.html NasalWidget]


== Related ==
== Related ==
{{Appendix}}
{{Appendix}}

Revision as of 16:24, 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