You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Leonard Ritter ac99b8dd4d OUI_USE_UNION_VECTORS 10 years ago
.hgignore added example 10 years ago
DejaVuSans.ttf replaced droidsans.ttf with correctly attributed Deja Vu Sans 10 years ago
LICENSE initial check-in 10 years ago
LICENSE-DejaVuSans.ttf.txt replaced droidsans.ttf with correctly attributed Deja Vu Sans 10 years ago
LICENSE-blender_icons.svg.txt added font and icon dependencies along license notice 10 years ago
README.md README.md edited online with Bitbucket 10 years ago
blender_icons.svg added an enumerator for all icons 10 years ago
blender_icons16.png added an enumerator for all icons 10 years ago
blendish.h fixed multiline label positioning 10 years ago
example.cpp - support for squeezing in ROW/COLUMN mode 10 years ago
oui.h OUI_USE_UNION_VECTORS 10 years ago
premake4.lua added example 10 years ago

README.md

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