PUI: Difference between revisions

Jump to navigation Jump to search
1 byte removed ,  21 April 2023
m
Line 104: Line 104:


=== Todo ===
=== Todo ===
Nothing in particular : help debugging the grid layout (which is in simgear) would be good. For now you could create a grid layout manually using some Nasal.
Nothing in particular: help debugging the grid layout (which is in simgear) would be good. For now, you could create a grid layout manually using some Nasal.


For the menubar, we need to expose the C++ data to Nasal : we need a FGCompatMenuBar (alongisde FGPUIMenuBar) implementing FGMenubar which calls _createMenuObject in MenuBar.nas, using the same way I lookup and call _createDialogPeer in XMLDialog.nas
For the menubar, we need to expose the C++ data to Nasal: we need a FGCompatMenuBar (alongisde FGPUIMenuBar) implementing FGMenubar which calls _createMenuObject in MenuBar.nas, using the same way I lookup and call _createDialogPeer in XMLDialog.nas


(Make sure you don’t break the macOS native menubar in the process!)
(Make sure you don’t break the macOS native menubar in the process!)

Navigation menu