Lines Matching refs:NavId
2461 if (id != g.NavId)
2617 g.NavId = id;
2668 g.NavId = id;
2791 if (g.NavId == id || g.NavAnyRequest)
3504 if (g.NavId != 0 && g.NavIdTabCounter != INT_MAX)
4247 if (g.NavId == 0 || g.NavDisableHighlight || g.NavId != window->DC.LastItemId)
4272 return g.NavId != 0 && !g.NavDisableHighlight;
4413 RenderNavHighlight(ImRect(bb.Min - ImVec2(2,2), bb.Max + ImVec2(2,2)), g.NavId, ImGuiNavHighlightFlags_TypeThin);
5586 g.NavId = window ? window->NavLastIds[0] : 0; // Restore NavId
7217 quadrant = (window->DC.LastItemId < g.NavId) ? ImGuiDir_Left : ImGuiDir_Right;
7290 // We get there when either NavId == id, or when g.NavAnyRequest is set (which is updated by NavUpdateAnyRequestFlag above)
7318 if ((g.NavId != id || (g.NavMoveRequestFlags & ImGuiNavMoveFlags_AllowCurrentNavId)) && !(item_flags & ImGuiItemFlags_NoNav))
7351 if (g.NavId == id)
7476 g.NavId = window->NavLastIds[0];
7663 g.IO.NavVisible = (g.IO.NavActive && g.NavId != 0 && !g.NavDisableHighlight) || (g.NavWindowingTarget != NULL);
7701 g.NavId = 0;
7707 if (g.NavId != 0 && !g.NavDisableHighlight && !g.NavWindowingTarget && g.NavWindow && !(g.NavWindow->Flags & ImGuiWindowFlags_NoNavInputs))
7712 g.NavActivateId = g.NavId;
7713 if ((g.ActiveId == 0 || g.ActiveId == g.NavId) && activate_down)
7714 g.NavActivateDownId = g.NavId;
7715 if ((g.ActiveId == 0 || g.ActiveId == g.NavId) && activate_pressed)
7716 g.NavActivatePressedId = g.NavId;
7717 if ((g.ActiveId == 0 || g.ActiveId == g.NavId) && IsNavInputPressed(ImGuiNavInput_Input, ImGuiInputReadMode_Pressed))
7718 g.NavInputId = g.NavId;
7760 // If we initiate a movement request and have no current NavId, we initiate a InitDefautRequest that will be used as a fallback if the direction fails to find a match
7766 if (g.NavMoveRequest && g.NavId == 0)
7789 // Next movement request will clamp the NavId reference rectangle to the visible area, so navigation will resume within those bounds.
7808 // When we have manually scrolled (without using navigation) and NavId becomes out of bounds, we project its bounding box to the visible area to restart navigation within visible items
7818 g.NavId = 0;
7844 // In a situation when there is no results but NavId != 0, re-enable the Navigation highlight (because g.NavId is not considered as a possible result)
7845 if (g.NavId != 0)
7858 if (g.NavMoveResultLocalVisibleSet.ID != 0 && g.NavMoveResultLocalVisibleSet.ID != g.NavId)
7885 if (g.NavId != result->ID)
9480 ImGui::Text("NavId: 0x%08X, NavLayer: %d", g.NavId, g.NavLayer);