Canvas wrappers: Difference between revisions

Jump to navigation Jump to search
m
Line 16: Line 16:
Also see [[Howto:Creating_fullscreen_Canvas_applications#Parsing_Instruments_and_Texture_Mapping]]
Also see [[Howto:Creating_fullscreen_Canvas_applications#Parsing_Instruments_and_Texture_Mapping]]


We need to write a Nasal module that will take our existing instruments in $FG_AIRCRAFT/Instruments and turn them into canvases. Namely, that means, parsing:
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]
* [https://gitorious.org/fg/flightgear/blobs/next/src/Cockpit/panel.cxx panel.cxx]
 
Write a Nasal module that will take our existing instruments in $FG_AIRCRAFT/Instruments and turn them into canvases. Namely, that means, parsing:
* params
* params
* layers
* layers

Navigation menu