Helper to avoid a common series of PushOverrideID -> GetID() -> PopID() call (note that when using this pattern, TestEngine's "Stack Tool" will tend to not display the intermediate stack level. for that to work we would need to do PushOverrideID() -> ItemAdd() -> PopID() which would alter widget code a little more)
| 7807 | // (note that when using this pattern, TestEngine's "Stack Tool" will tend to not display the intermediate stack level. |
| 7808 | // for that to work we would need to do PushOverrideID() -> ItemAdd() -> PopID() which would alter widget code a little more) |
| 7809 | ImGuiID ImGui::GetIDWithSeed(const char* str, const char* str_end, ImGuiID seed) |
| 7810 | { |
| 7811 | ImGuiID id = ImHashStr(str, str_end ? (str_end - str) : 0, seed); |
| 7812 | ImGuiContext& g = *GImGui; |
| 7813 | if (g.DebugHookIdInfo == id) |
| 7814 | DebugHookIdInfo(id, ImGuiDataType_String, str, str_end); |
| 7815 | return id; |
| 7816 | } |
| 7817 | |
| 7818 | void ImGui::PopID() |
| 7819 | { |
nothing calls this directly
no test coverage detected