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

Raster Ron 845b2dc2a9 Update README.md 9 anni fa
nanovg @ 8feae63a46 ceed9f8e71 Added nanovg submodule 9 anni fa
.gitmodules ceed9f8e71 Added nanovg submodule 9 anni fa
.hg_archival.txt 8b890b608a Updated with Premake4 MinGW build script 9 anni fa
.hgignore 8b890b608a Updated with Premake4 MinGW build script 9 anni fa
DejaVuSans.ttf 8b890b608a Updated with Premake4 MinGW build script 9 anni fa
LICENSE 8b890b608a Updated with Premake4 MinGW build script 9 anni fa
LICENSE-DejaVuSans.ttf.txt 8b890b608a Updated with Premake4 MinGW build script 9 anni fa
LICENSE-blender_icons.svg.txt 8b890b608a Updated with Premake4 MinGW build script 9 anni fa
README.md 845b2dc2a9 Update README.md 9 anni fa
blender_icons.svg 8b890b608a Updated with Premake4 MinGW build script 9 anni fa
blender_icons16.png 8b890b608a Updated with Premake4 MinGW build script 9 anni fa
blendish.h 8b890b608a Updated with Premake4 MinGW build script 9 anni fa
example.c 8b890b608a Updated with Premake4 MinGW build script 9 anni fa
oui.h 8b890b608a Updated with Premake4 MinGW build script 9 anni fa
premake4.lua 8b890b608a Updated with Premake4 MinGW build script 9 anni fa
premake_mingw.bat 8b890b608a Updated with Premake4 MinGW build script 9 anni fa

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

Forked from https://bitbucket.org/DarkUranium/oui-blendish to work with C. Blendish Project by Leonard Ritter @paniq at https://bitbucket.org/duangle/oui-blendish