mirror of
https://github.com/ocornut/imgui.git
synced 2026-02-06 04:20:08 +00:00
Added GetID(int) variant for consistency. (#7111)
This commit is contained in:
parent
b3ba6b3095
commit
692bee5f22
3 changed files with 7 additions and 0 deletions
|
|
@ -8380,6 +8380,11 @@ ImGuiID ImGui::GetID(const void* ptr_id)
|
|||
return window->GetID(ptr_id);
|
||||
}
|
||||
|
||||
ImGuiID ImGui::GetID(int int_id)
|
||||
{
|
||||
ImGuiWindow* window = GImGui->CurrentWindow;
|
||||
return window->GetID(int_id);
|
||||
}
|
||||
//-----------------------------------------------------------------------------
|
||||
// [SECTION] INPUTS
|
||||
//-----------------------------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue