]> git.mxchange.org Git - flightgear.git/commit
Add a new command, "dialog-new", allowing external code (e.g. Nasal
authorandy <andy>
Mon, 8 Dec 2003 02:05:10 +0000 (02:05 +0000)
committerandy <andy>
Mon, 8 Dec 2003 02:05:10 +0000 (02:05 +0000)
commit0b3159ec0c6984fdcc69bca8b5d1dbee56a51f4f
treec2f49fa180c936cfcb9ef98c789ffaadb471305a
parent7ac15db1688c03f3e7b924d9d9256925e233acc7
Add a new command, "dialog-new", allowing external code (e.g. Nasal
scripts) to create dialogs at runtime.  Augment "dialog-close" to take
a name argument, allowing code other than PUI callbacks to close
dialogs.

The changes to the GUI directory to enable this are actually minor,
basically amounting to using SGPropertyNode_ptr reference counting
(the GUI subsystem no longer "controls" the dialog property trees, so
it can't delete them).
src/GUI/new_gui.cxx
src/GUI/new_gui.hxx
src/Main/fg_commands.cxx
src/Scripting/nasal-props.cxx