MCPcopy Create free account
hub / github.com/RenderKit/embree / NavApplyItemToResult

Method NavApplyItemToResult

tutorials/common/imgui/imgui.cpp:10512–10521  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10510}
10511
10512static void ImGui::NavApplyItemToResult(ImGuiNavItemData* result)
10513{
10514 ImGuiContext& g = *GImGui;
10515 ImGuiWindow* window = g.CurrentWindow;
10516 result->Window = window;
10517 result->ID = g.LastItemData.ID;
10518 result->FocusScopeId = g.CurrentFocusScopeId;
10519 result->InFlags = g.LastItemData.InFlags;
10520 result->RectRel = WindowRectAbsToRel(window, g.LastItemData.NavRect);
10521}
10522
10523// We get there when either NavId == id, or when g.NavAnyRequest is set (which is updated by NavUpdateAnyRequestFlag above)
10524// This is called after LastItemData is set.

Callers

nothing calls this directly

Calls 1

WindowRectAbsToRelFunction · 0.85

Tested by

no test coverage detected