| 10510 | } |
| 10511 | |
| 10512 | static 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. |
nothing calls this directly
no test coverage detected