PUI: Difference between revisions

Jump to navigation Jump to search
977 bytes removed ,  19 January 2023
m
→‎Popups: remove more obsolete stuff thanks to recent progress contributed by {{User:TheEagle}}
m (→‎Popups: remove more obsolete stuff thanks to recent progress contributed by {{User:TheEagle}})
Line 94: Line 94:


The general non-fun-ness of that kind of debugging is why I’ve been making such slow progress on my PUI replacement widgets recently <ref>https://sourceforge.net/p/flightgear/mailman/message/37756263/</ref>
The general non-fun-ness of that kind of debugging is why I’ve been making such slow progress on my PUI replacement widgets recently <ref>https://sourceforge.net/p/flightgear/mailman/message/37756263/</ref>
=== Popups ===
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 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 [[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>


=== Parser ===
=== Parser ===

Navigation menu