Skip to content

Latest commit

 

History

History
53 lines (39 loc) · 1.46 KB

README.md

File metadata and controls

53 lines (39 loc) · 1.46 KB

imgui

Features

  • 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.

About

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.

image

Build

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

Usage

Check sample.cc for detailed usage examples.