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 лет назад
lib 639ebf9c6e Latest commit eb226e1 with older NanoVG version for VS2008 9 лет назад
.hg_archival.txt 639ebf9c6e Latest commit eb226e1 with older NanoVG version for VS2008 9 лет назад
.hgignore 8b890b608a Updated with Premake4 MinGW build script 9 лет назад
DejaVuSans.ttf 8b890b608a Updated with Premake4 MinGW build script 9 лет назад
LICENSE 8b890b608a Updated with Premake4 MinGW build script 9 лет назад
LICENSE-DejaVuSans.ttf.txt 8b890b608a Updated with Premake4 MinGW build script 9 лет назад
LICENSE-blender_icons.svg.txt 8b890b608a Updated with Premake4 MinGW build script 9 лет назад
README.md 639ebf9c6e Latest commit eb226e1 with older NanoVG version for VS2008 9 лет назад
blender_icons.svg 8b890b608a Updated with Premake4 MinGW build script 9 лет назад
blender_icons16.png 8b890b608a Updated with Premake4 MinGW build script 9 лет назад
blendish.h 639ebf9c6e Latest commit eb226e1 with older NanoVG version for VS2008 9 лет назад
copyglew.bat 639ebf9c6e Latest commit eb226e1 with older NanoVG version for VS2008 9 лет назад
example.cpp 639ebf9c6e Latest commit eb226e1 with older NanoVG version for VS2008 9 лет назад
nanovg.zip 3250cb7e2b Uploaded working NanoVG version 9 лет назад
oui.h 639ebf9c6e Latest commit eb226e1 with older NanoVG version for VS2008 9 лет назад
premake4.lua 639ebf9c6e Latest commit eb226e1 with older NanoVG version for VS2008 9 лет назад
premake_vs2008.bat 639ebf9c6e Latest commit eb226e1 with older NanoVG version for VS2008 9 лет назад

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