Lines Matching refs:popup_ref
4910 ImGuiPopupRef& popup_ref = g.OpenPopupStack[g.BeginPopupStack.Size];
4911 window_just_activated_by_user |= (window->PopupId != popup_ref.PopupId); // We recycle popups so treat window as activated if popup id changed
4912 window_just_activated_by_user |= (window != popup_ref.Window);
4924 ImGuiPopupRef& popup_ref = g.OpenPopupStack[g.BeginPopupStack.Size];
4925 popup_ref.Window = window;
4926 g.BeginPopupStack.push_back(popup_ref);
4927 window->PopupId = popup_ref.PopupId;
6761 ImGuiPopupRef popup_ref; // Tagged as new ref as Window will be set back to NULL if we write this into OpenPopupStack.
6762 popup_ref.PopupId = id;
6763 popup_ref.Window = NULL;
6764 popup_ref.ParentWindow = parent_window;
6765 popup_ref.OpenFrameCount = g.FrameCount;
6766 popup_ref.OpenParentId = parent_window->IDStack.back();
6767 popup_ref.OpenPopupPos = NavCalcPreferredRefPos();
6768 popup_ref.OpenMousePos = IsMousePosValid(&g.IO.MousePos) ? g.IO.MousePos : popup_ref.OpenPopupPos;
6773 g.OpenPopupStack.push_back(popup_ref);
6782 g.OpenPopupStack[current_stack_size].OpenFrameCount = popup_ref.OpenFrameCount;
6788 g.OpenPopupStack[current_stack_size] = popup_ref;