OUI: Platform agnostic UI layouting and processing. Blendish: NanoVG drawing functions imitating the Blender 2.5 UI look in a single C header file.
e48d5d4ce16e — Leonard Ritter default tip 4 years ago
* updated image links in readme
8b6cce69f585 — Leonard Ritter 4 years ago
* check-in doc images
eb226e17ec5b — Leonard Ritter 9 years ago
OUI_USE_UNION_VECTORS

heads

tip
browse log

clone

read-only
https://hg.sr.ht/~duangle/oui-blendish
read/write
ssh://hg@hg.sr.ht/~duangle/oui-blendish

Blendish is a small collection of drawing functions for NanoVG in a single C header file, designed to replicate the look of the Blender 2.5+ User Interface. You can use these functions to theme your UI library. Some metric constants for faithful reproduction are also included.

To render correctly, Blendish needs both icon sheet and font from the Blender repository. See source code for more information.

oui_logo.png

The repository also hosts OUI (short for "Open UI", spoken like the french "oui" for "yes"), a platform agnostic single-header C library for layouting GUI elements and handling related user input. Together with a set of widget drawing and logic routines it can be used to build complex user interfaces.

Here's a screenshot of Blendish styling a set of layouted OUI items (also contained in example.cpp).

oui_frozen.png

Here's a shot of all available Blendish theming functions:

blendish2.png