Live data from Hacker News

Dear ImGui – Bloat-free graphical user interface library for C++

github.com

1–10 of 186 posts

Re: Dear ImGui – Bloat-free graphical user interface library for C++

#3
Happy to see ImGui trend here on HN!

It is an amazing tool that is used in a lot of game engines for making internal/dev gui:s. The principle of drawing gui "as you go", interleaved with control flow makes it easier+faster to make gui:s.

In our company's main app we use ImGui (with customizations) for all gui work (from C++ and Rust).

Re: Dear ImGui – Bloat-free graphical user interface library for C++

#6
post #4

The widget should keep its state private. ImGui::InputText("string", buf, IM_ARRAYSIZE(buf)); ImGui::SliderFloat("float", &f, 0.0f, 1.0f); And maybe is a C++ lib but the interface is C with namespaces. Odd.

The way I understand it, the idea is that widgets don't own the state. They are sort of stateless. Your app owns the state.

Re: Dear ImGui – Bloat-free graphical user interface library for C++

#7
Not sure why this is showing up on HN today. But Dear ImGui is absolutely amazing. And its not just for C++. I use it myself in my C# game engine. (There's a C# port that uses System.Numerics: https://github.com/mellinoe/ImGui.NET) which I've ported to MonoGame https://github.com/roy-t/ImGui.NET)

I've used a lot of different UI frameworks (winforms, WPF, Html/CSS based frameworks, custom game engine frameworks). But for prototyping Dear ImGui and the whole immediate GUI idea is amazing. It even looks quite decent and the new docking support is great :).

Re: Dear ImGui – Bloat-free graphical user interface library for C++

#8
post #4

The widget should keep its state private. ImGui::InputText("string", buf, IM_ARRAYSIZE(buf)); ImGui::SliderFloat("float", &f, 0.0f, 1.0f); And maybe is a C++ lib but the interface is C with namespaces. Odd.

Immediate mode is a stateless design pattern.

Re: Dear ImGui – Bloat-free graphical user interface library for C++

#9
>This library is called Dear ImGui. Please refer to it as Dear ImGui (not ImGui, not IMGUI).

>(The library misleadingly started its life in 2014 as "ImGui" due to the fact that I didn't give it a proper name when when I released 1.0, and had no particular expectation that it would take off. However, the term IMGUI (immediate-mode graphical user interface) was coined before and is being used in variety of other situations e.g. Unity uses it own implementation of the IMGUI paradigm. To reduce the ambiguity without affecting existing code bases, I have decided in December 2015 a fully qualified name "Dear ImGui" for this library.

Yes, but why "Dear"? Makes it read in an odd way wrt to idiomatic English.

Re: Dear ImGui – Bloat-free graphical user interface library for C++

#10
post #3

Happy to see ImGui trend here on HN! It is an amazing tool that is used in a lot of game engines for making internal/dev gui:s. The principle of drawing gui "as you go", interleaved with control flow makes it easier+faster to make gui:s. In our company's main app we use ImGui (with customizations) for all gui work (from C++ and Rust).

I work at one of the largest games publishers out there and I'm pretty sure ImGUI is integrated into all of our games at this point during development for debugging. It's an absolutely fantastic tool.

Oh, we do actually sponsor it:

https://montreal.ubisoft.com/en/ubisoft-sponsors-user-interf...

Post reply on HN