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.

#c #library #single-file #header-only #gui #nanovg #ui #hud

rasteron 3250cb7e2b Uploaded working NanoVG version 9 lat temu
lib 639ebf9c6e Latest commit eb226e1 with older NanoVG version for VS2008 9 lat temu
.hg_archival.txt 639ebf9c6e Latest commit eb226e1 with older NanoVG version for VS2008 9 lat temu
.hgignore 8b890b608a Updated with Premake4 MinGW build script 9 lat temu
DejaVuSans.ttf 8b890b608a Updated with Premake4 MinGW build script 9 lat temu
LICENSE 8b890b608a Updated with Premake4 MinGW build script 9 lat temu
LICENSE-DejaVuSans.ttf.txt 8b890b608a Updated with Premake4 MinGW build script 9 lat temu
LICENSE-blender_icons.svg.txt 8b890b608a Updated with Premake4 MinGW build script 9 lat temu
README.md 639ebf9c6e Latest commit eb226e1 with older NanoVG version for VS2008 9 lat temu
blender_icons.svg 8b890b608a Updated with Premake4 MinGW build script 9 lat temu
blender_icons16.png 8b890b608a Updated with Premake4 MinGW build script 9 lat temu
blendish.h 639ebf9c6e Latest commit eb226e1 with older NanoVG version for VS2008 9 lat temu
copyglew.bat 639ebf9c6e Latest commit eb226e1 with older NanoVG version for VS2008 9 lat temu
example.cpp 639ebf9c6e Latest commit eb226e1 with older NanoVG version for VS2008 9 lat temu
nanovg.zip 3250cb7e2b Uploaded working NanoVG version 9 lat temu
oui.h 639ebf9c6e Latest commit eb226e1 with older NanoVG version for VS2008 9 lat temu
premake4.lua 639ebf9c6e Latest commit eb226e1 with older NanoVG version for VS2008 9 lat temu
premake_vs2008.bat 639ebf9c6e Latest commit eb226e1 with older NanoVG version for VS2008 9 lat temu

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