Re: [Flightgear-devel] Adding custom menus per aircraft

2006-07-01 Thread Melchior FRANZ
* Jon S. Berndt -- Saturday 01 July 2006 14:35: * * Melchior FRANZ -- Saturday 01 July 2006 09:21: [gui.showWeightDialog()] > > JSBSim is not capable of providing this functionality. That's why > > this entry is greyed out for JSBSim aircraft. > Is there a property we (JSBSim) need to provide tat

Re: [Flightgear-devel] Adding custom menus per aircraft

2006-07-01 Thread Jon S. Berndt
> JSBSim is not capable of providing this functionality. That's why > this entry > is greyed out for JSBSim aircraft. But you can, of course, override that, > and offer an optional dialog. Just redefine gui.showWeightDialog() in > Nasal space and generate a different dialog. Is there a property we

Re: [Flightgear-devel] Adding custom menus per aircraft

2006-07-01 Thread Melchior FRANZ
* flying.toaster -- Saturday 01 July 2006 09:04: > the only way to add menus and dialogs is by putting them on > the $FGROOT/gui directory. Am I getting it right ? No. You just need to add the items to /sim/menubar/default. This can be done from local configs, *-set.xml files, command line, etc.

[Flightgear-devel] Adding custom menus per aircraft

2006-07-01 Thread flying.toaster
Hi everybody, I have looked closely at the README.gui file and it seems that the only way to add menus and dialogs is by putting them on the $FGROOT/gui directory. Am I getting it right ? If not is there any tutorial on how to write aircraft-specific dialogs ? If not is there a way to condi