20,741
edits
| Line 328: | Line 328: | ||
{{FGCquote | {{FGCquote | ||
|the recent GUI work committed by TheTom means that we can phase out the PUI map-canvas.xml dialog and create the whole dialog procedurally using a native canvas window, because we really only need two types of widgets: buttons and checkboxes, which are both supported now, thanks to the new "Aircraft Center". | |the recent GUI work committed by TheTom means that we can phase out the PUI map-canvas.xml dialog and create the whole dialog procedurally using a native canvas window, because we really only need two types of widgets: buttons and checkboxes, which are both supported now, thanks to the new "Aircraft Center": | ||
[[File:Native Canvas MapWidget Dialog.png|450px|thumb|Native Canvas MapWidget dialog using just Canvas Widgets, the Map has been turned into a Canvas Widget itself, so that it can be easily embedded in other dialogs (obviously the whole thing still needs to be cleaned up, layouting isn't currently used yet).]] | |||
|{{cite web |url=http://forum.flightgear.org/viewtopic.php?p=213083#p213083 | |{{cite web |url=http://forum.flightgear.org/viewtopic.php?p=213083#p213083 | ||
|title=<nowiki>Re: NavDisplay & MapStructure discussion (previously via PM)</nowiki> | |title=<nowiki>Re: NavDisplay & MapStructure discussion (previously via PM)</nowiki> | ||
| Line 344: | Line 347: | ||
While map.nas is deprecated, it probably isn't worth it (yet) to port the airport selection dialog yet, but creating a map dialog should be easy now - as long as we ignore panning/translating for the time being, and the flightplan. We should get adequate performance right now, but I will need to check with the 747, 777 to make sure. | While map.nas is deprecated, it probably isn't worth it (yet) to port the airport selection dialog yet, but creating a map dialog should be easy now - as long as we ignore panning/translating for the time being, and the flightplan. We should get adequate performance right now, but I will need to check with the 747, 777 to make sure. | ||
Performance-wise, we really only need to add two optional systime() statementss at the controller level to see if there's anything heavy remaining, which would then be a candidate for SymbolCache. | Performance-wise, we really only need to add two optional systime() statementss at the controller level to see if there's anything heavy remaining, which would then be a candidate for SymbolCache. | ||