| 2958 | } |
| 2959 | |
| 2960 | ImGuiID ImGuiWindow::GetIDNoKeepAlive(const char* str, const char* str_end) |
| 2961 | { |
| 2962 | ImGuiID seed = IDStack.back(); |
| 2963 | ImGuiID id = ImHashStr(str, str_end ? (str_end - str) : 0, seed); |
| 2964 | #ifdef IMGUI_ENABLE_TEST_ENGINE |
| 2965 | ImGuiContext& g = *GImGui; |
| 2966 | IMGUI_TEST_ENGINE_ID_INFO2(id, ImGuiDataType_String, str, str_end); |
| 2967 | #endif |
| 2968 | return id; |
| 2969 | } |
| 2970 | |
| 2971 | ImGuiID ImGuiWindow::GetIDNoKeepAlive(const void* ptr) |
| 2972 | { |
no test coverage detected