Canvas wrappers: Difference between revisions

Jump to navigation Jump to search
Switch to {{flightgear source}} and {{flightgear url}} to fix the broken Gitorious links.
mNo edit summary
(Switch to {{flightgear source}} and {{flightgear url}} to fix the broken Gitorious links.)
Line 27: Line 27:


We need to reimplement the 2D panel code in $FG_SRC/Cockpit/
We need to reimplement the 2D panel code in $FG_SRC/Cockpit/
* [https://gitorious.org/fg/flightgear/blobs/next/src/Cockpit/panel_io.cxx panel_io.cxx]
* {{flightgear source|src/Cockpit/panel_io.cxx|text=panel_io.cxx}}
* [https://gitorious.org/fg/flightgear/blobs/next/src/Cockpit/panel.cxx panel.cxx]
* {{flightgear source|src/Cockpit/panel.cxx|text=panel.cxx}}
* $FG_ROOT/Docs/README.xmlpanel
* $FG_ROOT/Docs/README.xmlpanel


Note that the FGPanel code is a bit cleaner than the old code, i.e. see [https://gitorious.org/fg/flightgear/blobs/next/src/Cockpit/panel.cxx#line366].
Note that the FGPanel code is a bit cleaner than the old code, i.e. see [{{flightgear url|src/Cockpit/panel.cxx|line=366}}].


Write a Nasal module that will take our existing instruments in $FG_AIRCRAFT/Instruments and turn them into canvases. Namely, that means, parsing:
Write a Nasal module that will take our existing instruments in $FG_AIRCRAFT/Instruments and turn them into canvases. Namely, that means, parsing:

Navigation menu