Howto:Prototyping a new NavDisplay Style: Difference between revisions

Jump to navigation Jump to search
Line 13: Line 13:
[[File:ND dialog allowing styles to be changed at runtime.png|thumb|[[PUI]] dialog showing 3 independent [[NavDisplay]] instances with styling being customizable at runtime.]]
[[File:ND dialog allowing styles to be changed at runtime.png|thumb|[[PUI]] dialog showing 3 independent [[NavDisplay]] instances with styling being customizable at runtime.]]
[[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.]]


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