20,741
edits
| Line 202: | Line 202: | ||
replacing the PUI menubar with a Canvas-based one is trivial - the code on the wiki actually worked, i.e. is parsing menubar.xml and creates buttons that create popups with the corresponding entries.<ref>{{cite web | replacing the PUI menubar with a Canvas-based one is trivial - the code on the wiki actually worked, i.e. is parsing menubar.xml and creates buttons that create popups with the corresponding entries.<ref>{{cite web | ||
|url = https://forum.flightgear.org/viewtopic.php?p=289032#p289032 | |url = https://forum.flightgear.org/viewtopic.php?p=289032#p289032 | ||
|title = <nowiki> Re: Aircraft Center | pui2canvas parser (devel-list follow-u </nowiki> | |||
|author = <nowiki> Hooray </nowiki> | |||
|date = Jun 18th, 2016 | |||
|added = Jun 18th, 2016 | |||
|script_version = 0.40 | |||
}}</ref> | |||
you don't even need to "entirely strip out PUI from any source code" to see that this works, because you can use the corresponding fgcommands to remove the entire PUI subsystem at runtime - e.g. using what you referred to as "segfault heaven": | |||
[[Howto:Reset/re-init Troubleshooting]] | |||
[[File:Reset-reinit-control-panel.png|250px]]<ref>{{cite web | |||
|url = https://forum.flightgear.org/viewtopic.php?p=289033#p289033 | |||
|title = <nowiki> Re: Aircraft Center | pui2canvas parser (devel-list follow-u </nowiki> | |||
|author = <nowiki> Hooray </nowiki> | |||
|date = Jun 18th, 2016 | |||
|added = Jun 18th, 2016 | |||
|script_version = 0.40 | |||
}}</ref> | |||
In other words, pui2canvas can be solely implemented in fgdata space, and it can even remove PUI at runtime ...<ref>{{cite web | |||
|url = https://forum.flightgear.org/viewtopic.php?p=289033#p289033 | |||
|title = <nowiki> Re: Aircraft Center | pui2canvas parser (devel-list follow-u </nowiki> | |title = <nowiki> Re: Aircraft Center | pui2canvas parser (devel-list follow-u </nowiki> | ||
|author = <nowiki> Hooray </nowiki> | |author = <nowiki> Hooray </nowiki> | ||