A stack of windows would make things far easier indeed, but from a quick check into the code I haven't been able to locate such structure. Sure there is a GuiStack class which could be a good candidate, but it seems this class is unused at the moment.impaktor wrote:It would be very valuable with input from robn here, I suspect, or jpab who seems to understand that newUI stuff as well.
Keep in mind: I don't know what I'm talking about, but I had the notion of pioneer's Lua-newUI stacking windows on top of each other, so pressing ESC should just close the top one and the next one is revealed. The only special case might be WorldView, where we might want the settings dialogue box. Maybe I can poke robn in the weekend.
Could someone clarify if there is really a stack of View objects that I can use for switching from the current view to the previous one? If there is no such view then I can always go on with the approach which I have specified into the Excel: less flexible but working and certainly enough from the point of view of enhancing the UX.