ocornut / imgui

Dear ImGui: Bloat-free Graphical User interface for C++ with minimal dependencies
MIT License
60.61k stars 10.23k forks source link

ImGui in C++ style(class/interface) #8050

Open abramann opened 1 week ago

abramann commented 1 week ago

Has someone done ImGui in C++ style(interfaces/classes) in an opensource project?

ocornut commented 1 week ago

It doesn't make much sense as the library follows a functional design. What were you looking for specifically?

However, specifically on the matter or RAII helpers to deal with begin/end push/pop there are a few things:

I may put some work at implementing an official RAII solution for people who want it. #2197 is a good contender.