Hacker News new | ask | show | jobs
by ocornut 2612 days ago
Most of that code is incompressible to make a portable OpenGL app in C++, not really Dear ImGui's fault.

There's literally about ~10 lines of specific imgui code in there other than the 35 lines of example code in the middle of the main function.

Your problem is perhaps that you don't want to engage in actually reading that code.