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.
Andrew Belt 2fc6405883 Add stddef.h so it builds on mingw. 1 year ago
.hgignore added example 8 years ago
DejaVuSans.ttf replaced droidsans.ttf with correctly attributed Deja Vu Sans 8 years ago
LICENSE initial check-in 8 years ago
LICENSE-DejaVuSans.ttf.txt replaced droidsans.ttf with correctly attributed Deja Vu Sans 8 years ago
LICENSE-blender_icons.svg.txt added font and icon dependencies along license notice 8 years ago
README.md README.md edited online with Bitbucket 8 years ago
blender_icons.svg added an enumerator for all icons 8 years ago
blender_icons16.png added an enumerator for all icons 8 years ago
blendish.c Trim trailing spaces. 1 year ago
blendish.h Add stddef.h so it builds on mingw. 1 year ago
example.cpp - support for squeezing in ROW/COLUMN mode 7 years ago
oui.h OUI_USE_UNION_VECTORS 7 years ago
premake4.lua added example 8 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