What I forgot ...

(5) add a binding for opening/closing the livery dialog, for example
    a menu entry, putting this into foo-set.xml:

      <sim>
          ...
          <menubar>
              <default>
                  <menu n="100">
                      <label>Foo</label>
                      <item>
                          <label>Select Livery</label>
                          <binding>
                              <command>nasal</command>
                              <script>aircraft.livery.dialog.toggle()</script>
                          </binding>
                      </item>
                  </menu>
              </default>
          </menubar>
      </sim>

    Index 100 for the menu title makes sure that the entry will be
    the last on the right side.

m.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to