Ncurses Widget Layout Engine
dr
After trying to avoid having to do this, and then discovering that to properly
support client plugins modifying the base interface it was necessary, the first
test code of the ncurses widget layout engine is working:
(For reference, 'N' would be the network panel, 'G' would be the GPS data, 'O' would
be the "Other info" panel, and 'S' would be the status window, packed with a vbox containing
a hbox (N+G, O), containing a vbox (N+G), all dynamically sized.
Same layout, with an additional dynamic-sized widget packed after the network display.
(Perhaps a data/packet type display scrolling past? Possibilities abound.)
Hopefully this will make building the rest of the newcore UI much simpler, and allow a LOT
more flexibility than existed in the old UI, including windowed/dynamic layout mod
visualization of data, plugins adding data directly to the UI, and other goodness.