Canvas Maps: Difference between revisions

Jump to navigation Jump to search
276 bytes removed ,  28 June 2014
m
m (→‎Planned Features {{Pending}}: remove outdated stuff)
Line 42: Line 42:


Thus, the Nasal code to handle these display modes can be really short and elegant, especially compared to all the C++ code that we have currently for the same purpose!
Thus, the Nasal code to handle these display modes can be really short and elegant, especially compared to all the C++ code that we have currently for the same purpose!
For a more comprehensive example on how to use this new feature, please see the file [http://gitorious.org/~tomprogs/fg/toms-fgdata/blobs/canvas/gui/dialogs/map-canvas.xml map-canvas.xml in Tom's fgdata/canvas branch] which is a first stab at re-implementing the hard coded [[Map]] dialog using Nasal/Canvas.


A more recent example can be seen in the new "Airport Selection" dialog:
A more recent example can be seen in the new "Airport Selection" dialog:
Line 52: Line 50:
The Nasal "driver" can be found in [[$FG_ROOT]]/Nasal/canvas/map.nas: https://gitorious.org/fg/fgdata/blobs/master/Nasal/canvas/map.nas
The Nasal "driver" can be found in [[$FG_ROOT]]/Nasal/canvas/map.nas: https://gitorious.org/fg/fgdata/blobs/master/Nasal/canvas/map.nas


Also see: [[Talk:ATC-FS]]
Also see: [[Talk:ATC-FS]] and particularly [[MapStructure]]


== Shared Requirements (MFDs and GUI maps) ==
== Shared Requirements (MFDs and GUI maps) ==

Navigation menu