MCPcopy Create free account
hub / github.com/InteractiveComputerGraphics/PositionBasedDynamics / GetID

Method GetID

extern/imgui/imgui.cpp:3507–3515  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3505}
3506
3507ImGuiID 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
3517ImGuiID ImGuiWindow::GetID(const void* ptr)
3518{

Callers 15

TableHeaderMethod · 0.80
GetColumnsIDMethod · 0.80
BeginChildMethod · 0.80
PushIDMethod · 0.80
IsPopupOpenMethod · 0.80
OpenPopupMethod · 0.80
BeginPopupMethod · 0.80
BeginPopupModalMethod · 0.80
OpenPopupOnItemClickMethod · 0.80

Calls 3

ImHashStrFunction · 0.85
ImHashDataFunction · 0.85
backMethod · 0.80

Tested by

no test coverage detected