Howto:Prototyping a new NavDisplay Style: Difference between revisions

Jump to navigation Jump to search
Line 222: Line 222:


{{Note|For testing purposes, put the following dialog into $FG_ROOT/gui/dialogs/canvas-nd.xml and use the [[Nasal Console]] to run the dialog (or extend the [[Menubar]] accordingly):
{{Note|For testing purposes, put the following dialog into $FG_ROOT/gui/dialogs/canvas-nd.xml and use the [[Nasal Console]] to run the dialog (or extend the [[Menubar]] accordingly):
<syntaxhighlight lang="nasal">fgcommand("dialog-show", props.Node.new({'dialog-name':'canvas-nd'}) );</syntaxhighlight>
<syntaxhighlight lang="nasal">fgcommand('dialog-show', props.Node.new({'dialog-name':'canvas-nd'}) );</syntaxhighlight>
}}
}}


Navigation menu