]> git.mxchange.org Git - flightgear.git/commit
Boris Koenig:
authorehofman <ehofman>
Fri, 22 Oct 2004 09:26:51 +0000 (09:26 +0000)
committerehofman <ehofman>
Fri, 22 Oct 2004 09:26:51 +0000 (09:26 +0000)
commita938b5b0df380a6ed7833aea2d84728cf9e92876
tree7ea5f988baafa8ff37b8aa92416fad146075d0d8
parent3b62b16fe99fdec5b66f5a6d688a95108352bb6d
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.
src/GUI/menubar.cxx
src/GUI/menubar.hxx