* flying.toaster wrote:
> I have made the dialogs into separate files (as is suggested in mini
docs about gui) and I
> include them in the sim part of Su-26M-set.xml like this
> <dialog include="Gui/fuel_load.xml"></dialog>
Inventing new methods is fun, but someone has to write the code to make
them work.
The correct way to include aircraft specific XML dialogs can be seen in
the bo105 files. Currently
it only works via Nasal commands and goes something like this:
var znrk = gui.Dialog("/sim/gui/dialogs/su26m/znrk/dialog",
"Gui/fuel_load.xml");
znrk.open();
Of course you can embed that in the *-set.xml file, and call znrk.open()
from bindings.
More info in $FG_ROOT/Nasal/gui.nas and the bo105 files.
m.
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Flightgear-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/flightgear-devel