sharing programmer-to-programmer. please enjoy. pages are formatted for landscape tablet, laptop, or monitor.
yVIEW, layout management
greek, iapetus-progonos (founder)
daily use in production
yview is a shared library that configures and controls the drawing of all my ncurses and opengl programs. all my applications share the same window elements so they all have the same, comfortable, familiar look-and-feel.
what you see below is just a small sampler, but illustrative…
universal standard window parts
left is the “title” and “version” above
very bottom is the “command” line and “keys” to right
next to bottom is the “modes” and “status” bar
the pretty part is called “main”
ycolor keeps the supporting parts in shades of the primary color
NOTE: typed in command line (blue) requesting a minimal layout
same standard in ncurses
very bottom is the “command” line and “keys” to right
next to bottom is the “modes” and “status” bar
the pretty part is called “main”
the “xaxis” and “yaxis” are universal too
very top is the “buffers” and below is the “source”
NOTE: typed in command line (blue) requesting a minimal layout
minimal mode
in minimal mode, only the “main” part is shown
but, the command line now floats since it is manditory
in opengl , main window remains the same size and others add on
NOTE: i’ve typed in the command line (blue) requesting modes
same in ncurses
only the main shows, and the command line floats
in ncurses , total size remains the same and the main size changes
NOTE: i’ve typed in the command line (blue) requesting modes
universal menus
some things are just better kept in menus
the menu is keystroke driven and called with a “\” like lotus 123
it is also configurable to appear in many standard positions
this menu is in “top-center” position
ncurses is the same
menus are keystoke driven and moveable
this menu is in “upper-center” position
notes are quite useful
one of several “overlay” types including masking, data, and layers
the note to the right also has a leader line
you can have many notes with or without leaders
there are many size notes from single letter, call-outs, and narrative
they have made creating demos much easier
and, doing it taught me a few neat tricks
pretty close in ncurses
notes show as roughly the same sizes and can have leaders
all the same sizes are available in ncurses as in opengl
also, the leader lines can be recolored to show up more clearly
NOTE: could be helpful for remote support people
source code is GPL3 licensed, https://github.com/heatherlyrobert/yVIEW