Howto:Prototyping a new NavDisplay Style: Difference between revisions

Jump to navigation Jump to search
Line 14: Line 14:
[[File:ND-Dialog-with-DisplayMode-support.png|thumb|[[PUI]] dialog showing two independent [[NavDisplay]] instances with different styles applied and support for toggling display modes separately]]
[[File:ND-Dialog-with-DisplayMode-support.png|thumb|[[PUI]] dialog showing two independent [[NavDisplay]] instances with different styles applied and support for toggling display modes separately]]
[[File:Updated-NDStyles-Dialog.png|thumb|Updated [[PUI]]/XML dialog showing different ND styles in use.]]
[[File:Updated-NDStyles-Dialog.png|thumb|Updated [[PUI]]/XML dialog showing different ND styles in use.]]
[[File:NDStylesDialog-with-ADF-VOR-Selection.png|thumb|Dialog with VOR/ADF selelection support]]


This is a PUI/XML dialog with two embedded CanvasWidget areas that instantiate independent ND instances using a subset of the code commonly found in the aircraft specific ND.nas file, adapted to use the embedded Canvas region for rendering the two NDs and GUI buttons/widgets added to control the whole thing without necessarily requiring a fully developed cockpit.
This is a PUI/XML dialog with two embedded CanvasWidget areas that instantiate independent ND instances using a subset of the code commonly found in the aircraft specific ND.nas file, adapted to use the embedded Canvas region for rendering the two NDs and GUI buttons/widgets added to control the whole thing without necessarily requiring a fully developed cockpit.

Navigation menu