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:
parent
04f06fdea5
commit
7c89540541
1 changed files with 1 additions and 0 deletions
|
@ -263,6 +263,7 @@ Started September 2000 by David Megginson, david@megginson.com
|
||||||
|
|
||||||
<menubar>
|
<menubar>
|
||||||
<visibility type="bool">true</visibility>
|
<visibility type="bool">true</visibility>
|
||||||
|
<default include="gui/menubar.xml"/>
|
||||||
</menubar>
|
</menubar>
|
||||||
|
|
||||||
<mouse>
|
<mouse>
|
||||||
|
|
Loading…
Reference in a new issue