mirror of
https://github.com/Drezil/imgui.git
synced 2025-07-04 03:58:47 +02:00
TestEngine: Added PushID() hooks.
This commit is contained in:
@ -5493,10 +5493,12 @@ void ImGui::TreePush(const void* ptr_id)
|
||||
|
||||
void ImGui::TreePushOverrideID(ImGuiID id)
|
||||
{
|
||||
ImGuiWindow* window = GetCurrentWindow();
|
||||
ImGuiContext& g = *GImGui;
|
||||
ImGuiWindow* window = g.CurrentWindow;
|
||||
Indent();
|
||||
window->DC.TreeDepth++;
|
||||
window->IDStack.push_back(id);
|
||||
IMGUI_TEST_ENGINE_PUSH_ID(id, ImGuiDataType_ID, NULL);
|
||||
}
|
||||
|
||||
void ImGui::TreePop()
|
||||
|
Reference in New Issue
Block a user