imgui-java
imgui-java copied to clipboard
Missing Bindings: ImGui::ImageButton(ImGuiID id, ImTextureID texture_id, ...etc)
Version
1.86.11
What part of the binding has gaps?
Dear ImGui
What is missing?
Binding for ImGui::ImageButton(ImGuiID id, ImTextureID texture_id, ...etc)
is missing. Currently we cannot pass ids to image buttons. We cannot create image buttons with the same texture id as the texture id is used as the imgui id of the button.
See: https://github.com/ocornut/imgui/blob/master/imgui_widgets.cpp#L1033
Current workaround: call ImGui.pushID(...)
before the button and ImGui.popID()
after the button.