Searched refs:next_window (Results 1 – 1 of 1) sorted by relevance
5648 if (ImGuiWindow* next_window = g.OpenPopupStack[g.BeginPopupStack.Size].Window) in BeginMenu() local5651 ImRect next_window_rect = next_window->Rect(); in BeginMenu()5653 …ImVec2 tb = (window->Pos.x < next_window->Pos.x) ? next_window_rect.GetTL() : next_window_rect.Get… in BeginMenu()5654 …ImVec2 tc = (window->Pos.x < next_window->Pos.x) ? next_window_rect.GetBL() : next_window_rect.Get… in BeginMenu()5656 … ta.x += (window->Pos.x < next_window->Pos.x) ? -0.5f : +0.5f; // to avoid numerical issues in BeginMenu()