Home
last modified time | relevance | path

Searched refs:r_outer (Results 1 - 6 of 6) sorted by relevance

/third_party/skia/third_party/externals/imgui/
H A Dimgui.cpp8649 // r_outer = the visible area rectangle, minus safe area padding. If our popup size won't fit because of safe area padding we ignore it.
8650 // (r_outer is usually equivalent to the viewport rectangle minus padding, but when multi-viewports are enabled and monitor
8653 ImVec2 ImGui::FindBestWindowPosForPopupEx(const ImVec2& ref_pos, const ImVec2& size, ImGuiDir* last_dir, const ImRect& r_outer, const ImRect& r_avoid, ImGuiPopupPositionPolicy policy) in FindBestWindowPosForPopupEx() argument
8655 ImVec2 base_pos_clamped = ImClamp(ref_pos, r_outer.Min, r_outer.Max - size); in FindBestWindowPosForPopupEx()
8657 //GetForegroundDrawList()->AddRect(r_outer.Min, r_outer.Max, IM_COL32(0,255,0,255)); in FindBestWindowPosForPopupEx()
8673 if (!r_outer.Contains(ImRect(pos, pos + size))) in FindBestWindowPosForPopupEx()
8691 const float avail_w = (dir == ImGuiDir_Left ? r_avoid.Min.x : r_outer.Max.x) - (dir == ImGuiDir_Right ? r_avoid.Max.x : r_outer in FindBestWindowPosForPopupEx()
8742 ImRect r_outer = GetPopupAllowedExtentRect(window); FindBestWindowPosForPopup() local
[all...]
H A Dimgui_internal.h2508 IMGUI_API ImVec2 FindBestWindowPosForPopupEx(const ImVec2& ref_pos, const ImVec2& size, ImGuiDir* last_dir, const ImRect& r_outer, const ImRect& r_avoid, ImGuiPopupPositionPolicy policy);
H A Dimgui_widgets.cpp1675 ImRect r_outer = GetPopupAllowedExtentRect(popup_window); in BeginComboPopup() local
1676 ImVec2 pos = FindBestWindowPosForPopupEx(bb.GetBL(), size_expected, &popup_window->AutoPosLastDirection, r_outer, bb, ImGuiPopupPositionPolicy_ComboBox); in BeginComboPopup()
/third_party/mesa3d/src/imgui/
H A Dimgui.cpp7021 // r_outer = the visible area rectangle, minus safe area padding. If our popup size won't fit because of safe area padding we ignore it.
7022 ImVec2 ImGui::FindBestWindowPosForPopupEx(const ImVec2& ref_pos, const ImVec2& size, ImGuiDir* last_dir, const ImRect& r_outer, const ImRect& r_avoid, ImGuiPopupPositionPolicy policy) in FindBestWindowPosForPopupEx() argument
7024 ImVec2 base_pos_clamped = ImClamp(ref_pos, r_outer.Min, r_outer.Max - size); in FindBestWindowPosForPopupEx()
7026 //GImGui->OverlayDrawList.AddRect(r_outer.Min, r_outer.Max, IM_COL32(0,255,0,255)); in FindBestWindowPosForPopupEx()
7042 if (!r_outer.Contains(ImRect(pos, pos + size))) in FindBestWindowPosForPopupEx()
7056 float avail_w = (dir == ImGuiDir_Left ? r_avoid.Min.x : r_outer.Max.x) - (dir == ImGuiDir_Right ? r_avoid.Max.x : r_outer.Min.x); in FindBestWindowPosForPopupEx()
7057 float avail_h = (dir == ImGuiDir_Up ? r_avoid.Min.y : r_outer in FindBestWindowPosForPopupEx()
7079 ImRect r_outer = GetWindowAllowedExtentRect(window); FindBestWindowPosForPopup() local
[all...]
H A Dimgui_internal.h1396 IMGUI_API ImVec2 FindBestWindowPosForPopupEx(const ImVec2& ref_pos, const ImVec2& size, ImGuiDir* last_dir, const ImRect& r_outer, const ImRect& r_avoid, ImGuiPopupPositionPolicy policy = ImGuiPopupPositionPolicy_Default);
H A Dimgui_widgets.cpp1363 ImRect r_outer = GetWindowAllowedExtentRect(popup_window); in BeginCombo() local
1364 ImVec2 pos = FindBestWindowPosForPopupEx(frame_bb.GetBL(), size_expected, &popup_window->AutoPosLastDirection, r_outer, frame_bb, ImGuiPopupPositionPolicy_ComboBox); in BeginCombo()

Completed in 62 milliseconds