| 3748 | } |
| 3749 | |
| 3750 | ImGuiID ImGuiWindow::GetID(const char* str, const char* str_end) |
| 3751 | { |
| 3752 | ImGuiID seed = IDStack.back(); |
| 3753 | ImGuiID id = ImHashStr(str, str_end ? (str_end - str) : 0, seed); |
| 3754 | ImGuiContext& g = *Ctx; |
| 3755 | if (g.DebugHookIdInfo == id) |
| 3756 | ImGui::DebugHookIdInfo(id, ImGuiDataType_String, str, str_end); |
| 3757 | return id; |
| 3758 | } |
| 3759 | |
| 3760 | ImGuiID ImGuiWindow::GetID(const void* ptr) |
| 3761 | { |
no test coverage detected