20,741
edits
m (→Popups: https://sourceforge.net/p/flightgear/mailman/message/37756296/) |
(→Popups) |
||
Line 98: | Line 98: | ||
Currently, the blocking piece is how we handle the popup window for the menu UI: especially for long menus. | Currently, the blocking piece is how we handle the popup window for the menu UI: especially for long menus. | ||
The good thing is solving this will also let | The good thing is solving this will also let James finish implement the menubar in pure Canvas :) | ||
What we probably need is a new Canvas window type beside Dialog and Window, for pop-up menus (probably quite similar to | What we probably need is a new Canvas window type beside Dialog and Window, for pop-up menus (probably quite similar to [[Tooltips]]) that has a high Z-level. The complication is we can have more than one, if we allow sub-menus (which is a commonly request feature for the main menubar): otherwise we could probably get away with a single 'menu popup window’ in a fixed Z-layer, but sub-menus imply multiple menus can be open at once.<ref>https://sourceforge.net/p/flightgear/mailman/message/37756291/</ref> | ||
The stubs for PopupMenu / Menu are already pushed, but the don’t have the style implementation, since James got stuck deciding how to handle the window for the menus <ref>https://sourceforge.net/p/flightgear/mailman/message/37756296/</ref> | The stubs for PopupMenu / Menu are already pushed, but the don’t have the style implementation, since James got stuck deciding how to handle the window for the menus <ref>https://sourceforge.net/p/flightgear/mailman/message/37756296/</ref> |