- Lightweight immediate mode graphical user interface.
- OpenGL 2.0 and 3.2 backends.
- Multiplatform. Compiles on msvc/gcc/clang. Runs on Linux/Mac/Windows.
- No external dependencies.
- MIT licensed.
- Most of the code is pulled from: http://code.google.com/p/recastnavigation/
- With upgraded OpenGL backends from: https://github.com/AdrienHerubel/imgui
- With partial merges from: https://github.com/FlorianDeconinck/imgui/
- With TrueType font handling from: 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.
This unofficial fork features cmake, smaller code base, cleanups, color handling, builtin fonts, different font handling, and many new widgets.
The only depedencies are OpenGL and GLEW. GLFW is embedded with the samples.
- Linux (Tested on Arch Linux, Ubuntu 12.10, Debian Wheezy with various versions of gcc)
cmake . && make
./sample
- Mac OS X (Tested on 10.7 (Lion) with XCode 4.6. Only compatible with core profile contexts)
cmake . && make
./sample
- Windows (Tested on Windows 7 with Visual Studio 2013)
cmake .. -G "Visual Studio 12" && imgui.sln && rem Most users want this
cmake .. -G "NMake Makefiles" && nmake && rem My personal choice
Check sample.cc for detailed usage examples.