pthom / imgui_bundle

Dear ImGui Bundle: an extensive set of Ready-to-use widgets and libraries, based on ImGui. Start your first app in 5 lines of code, or less. Whether you prefer Python or C++, this pack has your back!
https://pthom.github.io/imgui_bundle/
MIT License
590 stars 62 forks source link

dock_builder API should be public #197

Closed bgribble closed 2 months ago

bgribble commented 3 months ago

I was looking for the DockBuilder API and found that it's wrapped, but under imgui.internal.

I know that hello_imgui has docker functionality wrapped, which is great, but I am using the imgui bindings directly and not through hello_imgui.

It would be great if this part of the Dear Imgui API was promoted to first-class public status in imgui_bundle

dcnieho commented 2 months ago

That it is in imgui.internal doesn't mean you can't use it, it simply reflects where dear imgui has put the functionality. And of course for internal stuff, there is a much bigger chance that backward incompatible changes are made.

pthom commented 2 months ago

As @dcnieho wrote, this API is inside imgui_internal.h.

Omar Cornut (the author of Dear ImGui) did not feel like adding this to the main API yet, and as a matter of fact it is still in a branch. As a consequence, the bindings reflect the location of the API in the Dear ImGui code. When those are ported to the main API, the bindings will reflect this shortly after, as they are auto-generated.