• Home
  • Raw
  • Download

Lines Matching refs:OpenPopupStack

3325             g.IO.MouseDownOwned[i] = (g.HoveredWindow != NULL) || (!g.OpenPopupStack.empty());  in UpdateHoveredWindowAndCaptureFlags()
3343 …ouse_avail_to_imgui && (g.HoveredWindow != NULL || mouse_any_down)) || (!g.OpenPopupStack.empty()); in UpdateHoveredWindowAndCaptureFlags()
3601 g.OpenPopupStack.clear(); in Shutdown()
4148 return g.OpenPopupStack[g.BeginPopupStack.Size-1].OpenMousePos; in GetMousePosOnOpeningCurrentPopup()
4910 ImGuiPopupRef& popup_ref = g.OpenPopupStack[g.BeginPopupStack.Size]; in Begin()
4924 ImGuiPopupRef& popup_ref = g.OpenPopupStack[g.BeginPopupStack.Size]; in Begin()
6727 …return g.OpenPopupStack.Size > g.BeginPopupStack.Size && g.OpenPopupStack[g.BeginPopupStack.Size].… in IsPopupOpen()
6733 …return g.OpenPopupStack.Size > g.BeginPopupStack.Size && g.OpenPopupStack[g.BeginPopupStack.Size].… in IsPopupOpen()
6739 for (int n = g.OpenPopupStack.Size-1; n >= 0; n--) in GetFrontMostPopupModal()
6740 if (ImGuiWindow* popup = g.OpenPopupStack.Data[n].Window) in GetFrontMostPopupModal()
6771 if (g.OpenPopupStack.Size < current_stack_size + 1) in OpenPopupEx()
6773 g.OpenPopupStack.push_back(popup_ref); in OpenPopupEx()
6780 …if (g.OpenPopupStack[current_stack_size].PopupId == id && g.OpenPopupStack[current_stack_size].Ope… in OpenPopupEx()
6782 g.OpenPopupStack[current_stack_size].OpenFrameCount = popup_ref.OpenFrameCount; in OpenPopupEx()
6787 g.OpenPopupStack.resize(current_stack_size + 1); in OpenPopupEx()
6788 g.OpenPopupStack[current_stack_size] = popup_ref; in OpenPopupEx()
6814 if (g.OpenPopupStack.empty()) in ClosePopupsOverWindow()
6823 for (; popup_count_to_keep < g.OpenPopupStack.Size; popup_count_to_keep++) in ClosePopupsOverWindow()
6825 ImGuiPopupRef& popup = g.OpenPopupStack[popup_count_to_keep]; in ClosePopupsOverWindow()
6834 …for (int m = popup_count_to_keep; m < g.OpenPopupStack.Size && !popup_or_descendent_has_focus; m++) in ClosePopupsOverWindow()
6835 …if (g.OpenPopupStack[m].Window && g.OpenPopupStack[m].Window->RootWindow == ref_window->RootWindow) in ClosePopupsOverWindow()
6841 …if (popup_count_to_keep < g.OpenPopupStack.Size) // This test is not required but it allows to set… in ClosePopupsOverWindow()
6852 …ImGuiWindow* focus_window = (remaining > 0) ? g.OpenPopupStack[remaining-1].Window : g.OpenPopupSt… in ClosePopupToLevel()
6853 g.OpenPopupStack.resize(remaining); in ClosePopupToLevel()
6876 …if (popup_idx < 0 || popup_idx >= g.OpenPopupStack.Size || g.BeginPopupStack[popup_idx].PopupId !=… in CloseCurrentPopup()
6882 ImGuiWindow* popup_window = g.OpenPopupStack[popup_idx].Window; in CloseCurrentPopup()
6883 ImGuiWindow* parent_popup_window = g.OpenPopupStack[popup_idx - 1].Window; in CloseCurrentPopup()
6927 if (g.OpenPopupStack.Size <= g.BeginPopupStack.Size) // Early out for performance in BeginPopup()
7685 else if (g.OpenPopupStack.Size > 0) in NavUpdate()
7688 if (!(g.OpenPopupStack.back().Window->Flags & ImGuiWindowFlags_Modal)) in NavUpdate()
7689 ClosePopupToLevel(g.OpenPopupStack.Size - 1, true); in NavUpdate()
9455 if (ImGui::TreeNode("Popups", "Popups (%d)", g.OpenPopupStack.Size)) in ShowMetricsWindow()
9457 for (int i = 0; i < g.OpenPopupStack.Size; i++) in ShowMetricsWindow()
9459 ImGuiWindow* window = g.OpenPopupStack[i].Window; in ShowMetricsWindow()
9460 …ImGui::BulletText("PopupID: %08x, Window: '%s'%s%s", g.OpenPopupStack[i].PopupId, window ? window-… in ShowMetricsWindow()