Relative Content

Tag Archive for c++user-interfaceimguiimmediate-mode

Why does Dear ImGui Tables inserts extra ID into the id path of child widgets?

// ID conflict. Expected behaviour. static float value1; static float value2; ImGui::DragFloat(“##drag-float”, &value1); // …/##drag-float ImGui::DragFloat(“##drag-float”, &value2); // …/##drag-float If either of the DragFloats are changed, the other DragFloat will get updated, which is expected since they both share the same id during runtime (in comment) However, I expected the following code to have the […]