paws
paws is a very simple, bring-your-own-backend UI library built for quick prototyping, a small memory footprint, and easy embedding within existing projects.
This project is still a work in progress, expect breaking changes as the API is not final.
use rgb;
type Ui = Ui;
let mut ui = new;
ui.root;
ui.push;
ui.pad;
ui.fill;
// draw more components here
ui.pop;
The whole idea behind paws is that the layout is built at the same time as it's drawn, by using a stack of rectangles with extra metadata – groups.
For more information on how to lay out elements, please read the documentation.