Dear ImGui: Bloat-free Graphical User interface for C++ with minimal dependencies
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and dots ('.'), can be up to 35 characters long. Letters must be lowercase.
 
 
 
ocornut 86d2c9d232 Commented samples and shuffled bits of the initialisation based on user's feedback. ago%!(EXTRA string=11 years)
examples Commented samples and shuffled bits of the initialisation based on user's feedback. ago%!(EXTRA string=11 years)
web Update README.md ago%!(EXTRA string=11 years)
.gitignore Git ignore imgui.ini files ago%!(EXTRA string=11 years)
LICENSE Initial release ago%!(EXTRA string=11 years)
README.md Update README.md ago%!(EXTRA string=11 years)
imconfig.h Initial release ago%!(EXTRA string=11 years)
imgui.cpp Added PixelCenterOffset for OpenGL/DirectX compatibility. ago%!(EXTRA string=11 years)
imgui.h Commented samples and shuffled bits of the initialisation based on user's feedback. ago%!(EXTRA string=11 years)
stb_textedit.h Initial release ago%!(EXTRA string=11 years)

README.md

ImGui

ImGui is a bloat-free graphical user interface library for C++. It is portable, renderer agnostic and carries minimal amount of dependencies (only 3 files are needed). It is based on an "immediate" graphical user interface paradigm which allows you to build simple user interfaces with ease.

ImGui is designed to allow programmers to create "content creation" or "debug" tools (as opposed to tools for the average end-user). It favors simplicity and thus lacks certain features normally found in more high-level libraries, such as string localisation.

Usage example:

screenshot of sample code alongside its output with ImGui

ImGui outputs vertex buffers and simple command-lists that you can render in your application. Because it doesn't know or touch graphics state directly, you can call ImGui commands anywhere in your code (e.g. in the middle of a running algorithm, or in the middle of your own rendering process). Refer to the sample applications in the examples/ folder for instructions on how to integrate ImGui with your existing codebase.

screenshot 1 screenshot 2 screenshot 3 screenshot 4

Credits

Developed by Omar Cornut. The library was developed with the support of Media Molecule and first used internally on the game Tearaway.

Embeds proggy_clean font by Tristan Grimmer (also MIT license).

Inspiration, feedback, and testing: Casey Muratori, Atman Binstock, Mikko Mononen, Emmanuel Briney, Stefan Kamoda, Matt Willis. Thanks!

License

ImGui is licensed under the MIT License, see LICENSE for more information.