a938b5b0df
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. |
||
---|---|---|
.. | ||
.cvsignore | ||
AirportList.cxx | ||
AirportList.hxx | ||
dialog.cxx | ||
dialog.hxx | ||
gui.cxx | ||
gui.h | ||
gui_funcs.cxx | ||
gui_local.cxx | ||
gui_local.hxx | ||
layout-props.cxx | ||
layout-test.cxx | ||
layout.cxx | ||
layout.hxx | ||
Makefile.am | ||
menubar.cxx | ||
menubar.hxx | ||
mouse.cxx | ||
new_gui.cxx | ||
new_gui.hxx | ||
preset_dlg.cxx | ||
preset_dlg.hxx | ||
prop_picker.cxx | ||
prop_picker.hxx | ||
puList.cxx | ||
puList.hxx | ||
README | ||
sgVec3Slider.cxx | ||
sgVec3Slider.hxx | ||
trackball.c | ||
trackball.h |
This directory contains code for the FlightGear user interface. Currently, the code is based on PUI, which is part of PLIB. The code is currently in transition between the old, hard-coded C++ interface and a new, XML-configurable modular subsystem. Files: dialog.[ch]xx XML-configurable dialog box. gui.cxx, gui.h Top-level GUI functions (deprecated). gui_funcs.cxx Implementation of internal GUI functions (deprecated). gui_local.[ch]xx More internal GUI functions (deprecated). menubar.[ch]xx XML-configurable menu bar. mouse.cxx Old GUI mouse support (deprecated). new_gui.[ch]xx Top-level for the GUI subsystem. preset_dlg.[ch]xx Internal functions for presets (deprecated). prop_picker.[ch]xx Built-in property-tree dialog. sgVec3Slider.[ch]xx Built-in dialog for adjusting the view. trackball.[ch] Old mouse view support (deprecated). David Megginson 2003-09-26