retroglyph-widgets
Immediate-mode drawing helpers for retroglyph: box
borders, filled panels, gauges, tables, lists, tab strips, buttons, sparklines, and a small
constraint-based layout splitter (split_h/split_v with ratatui-style
Fixed/Percent/Fill/Min/Max constraints), plus hover/click/drag/focus interaction tracking.
Every widget is a builder struct that draws itself into a Terminal and retains no state of its
own; depends only on retroglyph-core, so games that
draw manually never pull it in.
Theme (Theme::DARK/Theme::LIGHT, or a caller-built palette) is a set of named color roles --
every widget with a style knob has a matching .theme(Theme) builder method that maps those roles
onto it, optionally: nothing requires a Theme at all, and a manual .border_style(...)/etc. call
after .theme(...) still wins.
Quick start
[]
= "0.1"
= "0.1"
use ;
use ;
let mut term = new;
new.render;
term.present.unwrap;
See docs.rs for the full API, or the workspace README for the crate list.