Canvas wrappers: Difference between revisions

Jump to navigation Jump to search
m
→‎2D Instruments parser: FGPanel code is easier to convert but otherwise identical
m (→‎2D Instruments parser: FGPanel code is easier to convert but otherwise identical)
Line 30: Line 30:
* [https://gitorious.org/fg/flightgear/blobs/next/src/Cockpit/panel.cxx panel.cxx]
* [https://gitorious.org/fg/flightgear/blobs/next/src/Cockpit/panel.cxx 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].


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