Re: [Flightgear-devel] Gui - updating gui state dynamically

2009-06-05 Thread Melchior FRANZ
* James Turner -- Friday 05 June 2009: > Can anyone (with more experience of the GUI code and Nasal) suggest > how close I can get to a GUI like the one I've mocked-up below: There are currently two ways: - make the popup an extra dialog; See the dialog that's shown in "Model View" in the low

Re: [Flightgear-devel] Gui - updating gui state dynamically

2009-06-05 Thread syd adams
I've started something similar, (I think) , with help from others, with the ATC2. I use the nasal "airportinfo(id)" to get airport and runway info.The ATC2 uses 2d panel text , but should be able to do the same in a dialog . A listener would be able to run a routine whenever the ICAO code changed .

[Flightgear-devel] Gui - updating gui state dynamically

2009-06-05 Thread James Turner
(getting back into some route-manager / GPS hacking, after a busy few months) Can anyone (with more experience of the GUI code and Nasal) suggest how close I can get to a GUI like the one I've mocked-up below: <> the idea being you enter an ICAO code, and when a valid code is entered,