1
0
Fork 0

Boris Koenig:

This will modify menubar.cxx/hxx so that it exports the
entire menubar (from menubar.xml) to the property tree, so that it can
now be changed dynamically  using Nasal's setprop() instruction and
afterwards running a newly added fgcommand to update the menubar
based on those changes using the appropriate menubar path within
the property tree.

By default the menubar from menubar.xml will be stored within:

    /sim/menubar/default


Erik:

I have moved the loading of menubar.xml into preferences.xml and
made sure that the menubar is destroyed every time a new menubar
is created.
This commit is contained in:
ehofman 2004-10-22 09:26:50 +00:00
parent 04f06fdea5
commit 7c89540541

View file

@ -263,6 +263,7 @@ Started September 2000 by David Megginson, david@megginson.com
<menubar>
<visibility type="bool">true</visibility>
<default include="gui/menubar.xml"/>
</menubar>
<mouse>