Bernardo TUI is a text user interface library.
Gladius, is the project of code editor for which Bernardo was written.
They live in a single repository at this time, but will be split in the future.
- Focus, Widgets, Input and Messages is the essential first read.
- Rendering basics
- Layout and Scrolls building blocks of complex widgets
- Complex widgets
- Attention tree [WIP]
Simple Widgets:
- EditBox
- Button
- TextWidget ("Label" in other libraries)
- ListWidget
- TreeViewWidget
- NestedMenu (not used in Gladius, replaced with ContextMenu everywhere)
Complex/Combined Widgets:
- GenericDialog
- SaveFileDialog ("SaveAsDialog" in other libraries)
- EditorWidget (draws text and some hovers)
- EditorView (above, but wrapped with scroll, line numbers and with find/replace added on top)
- BigList which draws "multiple instances of the same widget so you can select from them"
- ContextMenu offers a tree-like (nested) menu + fuzzy search.
Specialized variants:
- ContextBar is a specialized variant of ContextMenu used within EditorWidget. It may get renamed.