Menubar: Difference between revisions

Jump to navigation Jump to search
760 bytes added ,  19 January 2009
m
no edit summary
No edit summary
mNo edit summary
Line 18: Line 18:
   </gui>
   </gui>


==Related content==
==Add items==
===Aircraft dependent items===
To add a menu for a specific plane only you have to enhance the planes -set.xml file. Add the follow lines (example for the [[Livery over MP|livery selection dialog]] in a [[Boeing 787]]), or any item that you want to show, above the </sim> tag. You can add as many items and menus as you like, but keep the menubar as small as possible, the larger the outside view will be.
 
<menubar>
  <default>
  <menu n="10">
  <label>Boeing 787</label>
  <enabled type="bool">true</enabled>
    <item>
    <label>Select Livery</label>
    <binding>
      <command>nasal</command>
      <script>aircraft.livery.dialog.open()</script>
    </binding>
    </item>
  </menu>
  </default>
</menubar>
 
==Menu items==
* [[Autopilot]]
* [[Chat Menu]]
* [[Chat Menu]]
* [[Instant Replay]]
* [[Instant Replay]]


[[Category:FlightGear feature]]
[[Category:Menubar]]
[[Category:Menubar]]
[[Category:FlightGear feature]]

Navigation menu