20,741
edits
| Line 2: | Line 2: | ||
{{WIP}} | {{WIP}} | ||
== Motivation == | |||
Adding another dependency to FlightGear is controversial, i.e. the consensus was that that is not something to be taken lightly. And then again, it would require updating all of the gui definitions.<ref>{{cite web | |||
|url = https://sourceforge.net/p/flightgear/mailman/message/29583534/ | |||
|title = <nowiki> Re: [Flightgear-devel] Switching from PUI to osgWidget </nowiki> | |||
|author = <nowiki> stefan riemens </nowiki> | |||
|date = Jul 24th, 2012 | |||
|added = Jul 24th, 2012 | |||
|script_version = 0.40 | |||
}}</ref> | |||
Of course, it should be possible to support the current XML syntax using any toolkit, it just's a question of how hard it is.<ref>{{cite web | |||
|url = https://sourceforge.net/p/flightgear/mailman/message/29583931/ | |||
|title = <nowiki> Re: [Flightgear-devel] Switching from PUI to osgWidget </nowiki> | |||
|author = <nowiki> James Turner </nowiki> | |||
|date = Jul 24th, 2012 | |||
|added = Jul 24th, 2012 | |||
|script_version = 0.40 | |||
}}</ref> | |||
Keeping the current XML format is really a requirement - improving that format, especially handling of layouts, is another task, but there's too many existing dialogs to really break compatibility.<ref>{{cite web | |||
|url = https://sourceforge.net/p/flightgear/mailman/message/29583931/ | |||
|title = <nowiki> Re: [Flightgear-devel] Switching from PUI to osgWidget </nowiki> | |||
|author = <nowiki> James Turner </nowiki> | |||
|date = Jul 24th, 2012 | |||
|added = Jul 24th, 2012 | |||
|script_version = 0.40 | |||
}}</ref> | |||
So long as we keep XML compatibility most of the current Nasal interaction with the GUI will work. There is great scope to make /better/ Nasal APIs for items such as combo-boxes and pickers, especially ICAO and radio frequency pickers, but that's all 'improving the GUI' work than can happen once we've ditched PLIB and have something hackable.<ref>{{cite web | |||
|url = https://sourceforge.net/p/flightgear/mailman/message/29583931/ | |||
|title = <nowiki> Re: [Flightgear-devel] Switching from PUI to osgWidget </nowiki> | |||
|author = <nowiki> James Turner </nowiki> | |||
|date = Jul 24th, 2012 | |||
|added = Jul 24th, 2012 | |||
|script_version = 0.40 | |||
}}</ref> | |||
{{Appendix}} | |||
== Widget tags == | == Widget tags == | ||
| Line 12: | Line 53: | ||
* {{tag|select-date}} - date picker | * {{tag|select-date}} - date picker | ||
* {{tag|select-file}} - file picker | * {{tag|select-file}} - file picker | ||
== Layout tags == | |||
== fgcommands == | |||