A small multiplatform immediate mode graphical user interface with OpenGL3.2 backend
C C++ Objective-C Lua
Latest commit 798da80 Nov 14, 2013 @AdrienHerubel Merge pull request #1 from caryanne/master
set active texture before rendering

README.md

imgui

A small multiplatform immediate mode graphical user interface with OpenGL3.2 backend.

About

Most of the code is pulled from the recast library : http://code.google.com/p/recastnavigation/

TrueType loading and rendering is done using stb_truetype : http://nothings.org/stb/stb_truetype.h

The OpenGL backend was ported from OpenGL immediate mode to OpenGL 3.2 mainly to be compatible with Mac OS X core profile.

Alt text

Build

The only depedency is OpenGL. GLFW, GLEW are embeded with the samples.

Linux : Tested on Arch Linux, Ubuntu 12.10, Debian Wheezy with various versions of gcc

premake4 gmake
make debug
make release
./sample

Mac OS X : Tested on 10.7 (Lion) with XCode 4.6. Only compatible with core profile contexts.

premake4 gmake
make debug
make release
./sample

Windows : Tested on Windows 7 with Visual Studio 2008 and 2010

premake4 vs2008 
Open .sln file

Usage

Consult sample.cpp for a detailed usage example.