| 3505 | } |
| 3506 | |
| 3507 | ImGuiID ImGuiWindow::GetID(const char* str, const char* str_end) |
| 3508 | { |
| 3509 | ImGuiID seed = IDStack.back(); |
| 3510 | ImGuiID id = ImHashStr(str, str_end ? (str_end - str) : 0, seed); |
| 3511 | ImGuiContext& g = *GImGui; |
| 3512 | if (g.DebugHookIdInfo == id) |
| 3513 | ImGui::DebugHookIdInfo(id, ImGuiDataType_String, str, str_end); |
| 3514 | return id; |
| 3515 | } |
| 3516 | |
| 3517 | ImGuiID ImGuiWindow::GetID(const void* ptr) |
| 3518 | { |
no test coverage detected