20,741
edits
(→Popups) |
m (→Status) |
||
Line 77: | Line 77: | ||
This builds equivalent C++ objects to what the [[PUI]] dialogs build, with properties exposed to Nasal. | This builds equivalent C++ objects to what the [[PUI]] dialogs build, with properties exposed to Nasal. | ||
Peer objects are created by Nasal [[callbacks]], which can implement the various dialog functions needed to keep compatibility, especially the ‘update’ and ‘apply’ hooks.<ref>https://sourceforge.net/p/flightgear/flightgear/ci/cbd5ef9e7b8f433dbc1ba97bae7d7cfc894e7cef/</ref> | Peer objects are created by Nasal [[callbacks]], which can implement the various dialog functions needed to keep compatibility, especially the [[#Background|‘update’ and ‘apply’ hooks]].<ref>https://sourceforge.net/p/flightgear/flightgear/ci/cbd5ef9e7b8f433dbc1ba97bae7d7cfc894e7cef/</ref> | ||
Use the following [[Building using CMake|cmake option]] to enable this code: <code>-DENABLE_PUICOMPAT=ON</code> | Use the following [[Building using CMake|cmake option]] to enable this code: <code>-DENABLE_PUICOMPAT=ON</code> | ||
Line 87: | Line 87: | ||
* {{flightgear file|src/GUI/PUICompatObject.cxx }} | * {{flightgear file|src/GUI/PUICompatObject.cxx }} | ||
01/2023: James slowly working on creating the pop-up menu and combo-box widgets [...] | 01/2023: James is slowly working on creating the pop-up menu and combo-box widgets [...] | ||
One of the major things slowing down James' work on the popup-menu and combo box is time to restart the simulator for each change, he is looking for some solution to re-load the widget Nasal code independently. <ref><https://sourceforge.net/p/flightgear/mailman/message/37756183/</ref> | One of the major things slowing down James' work on the popup-menu and combo box is time to restart the simulator for each change, he is looking for some solution to re-load the widget Nasal code independently. <ref><https://sourceforge.net/p/flightgear/mailman/message/37756183/</ref> |