FlightGear Newsletter August 2012: Difference between revisions

Line 16: Line 16:
* handling GUI events using osgGA
* handling GUI events using osgGA
* multiplatfom copy/paste support using two new Nasal functions: [[Howto:Clipboard access using Nasal]]
* multiplatfom copy/paste support using two new Nasal functions: [[Howto:Clipboard access using Nasal]]
Support for nested canvases will make it possible to also load canvas textures into other canvases, so that you can, for example, easily load an instrument into a GUI dialog, or even use GUI widgets in MFD instruments, which is a feature based on real avionics, i.e. as used in modern airliners like the A320 or the 787.
Nested canvases also make it possible for people to easily implement GUI tools using the Canvas system, for example a GUI instrument or panel editor can be entirely implemented in scripting space now, without touching any C++ code. Similarly, GUI widgets could also be created in a WYSIWYG-fashion, too - so that even dialog editor or full GUI builders can be built using the Canvas system.


In addition, Tom has now implemented support for window stacking. Check out the demo video below, which demonstrates how "nested" canvases and window stacking works:
In addition, Tom has now implemented support for window stacking. Check out the demo video below, which demonstrates how "nested" canvases and window stacking works: