Searched refs:r_outer (Results 1 – 3 of 3) sorted by relevance
/external/mesa3d/src/imgui/ |
D | imgui.cpp | 7022 …t ImVec2& ref_pos, const ImVec2& size, ImGuiDir* last_dir, const ImRect& r_outer, const ImRect& r_… in FindBestWindowPosForPopupEx() argument 7024 ImVec2 base_pos_clamped = ImClamp(ref_pos, r_outer.Min, r_outer.Max - size); in FindBestWindowPosForPopupEx() 7042 if (!r_outer.Contains(ImRect(pos, pos + size))) in FindBestWindowPosForPopupEx() 7056 …w = (dir == ImGuiDir_Left ? r_avoid.Min.x : r_outer.Max.x) - (dir == ImGuiDir_Right ? r_avoid.Max.… in FindBestWindowPosForPopupEx() 7057 …l_h = (dir == ImGuiDir_Up ? r_avoid.Min.y : r_outer.Max.y) - (dir == ImGuiDir_Down ? r_avoid.Max.y… in FindBestWindowPosForPopupEx() 7070 pos.x = ImMax(ImMin(pos.x + size.x, r_outer.Max.x) - size.x, r_outer.Min.x); in FindBestWindowPosForPopupEx() 7071 pos.y = ImMax(ImMin(pos.y + size.y, r_outer.Max.y) - size.y, r_outer.Min.y); in FindBestWindowPosForPopupEx() 7079 ImRect r_outer = GetWindowAllowedExtentRect(window); in FindBestWindowPosForPopup() local 7092 …estWindowPosForPopupEx(window->Pos, window->Size, &window->AutoPosLastDirection, r_outer, r_avoid); in FindBestWindowPosForPopup() 7097 …estWindowPosForPopupEx(window->Pos, window->Size, &window->AutoPosLastDirection, r_outer, r_avoid); in FindBestWindowPosForPopup() [all …]
|
D | imgui_internal.h | 1396 …t ImVec2& ref_pos, const ImVec2& size, ImGuiDir* last_dir, const ImRect& r_outer, const ImRect& r_…
|
D | imgui_widgets.cpp | 1363 ImRect r_outer = GetWindowAllowedExtentRect(popup_window); in BeginCombo() local 1364 …Ex(frame_bb.GetBL(), size_expected, &popup_window->AutoPosLastDirection, r_outer, frame_bb, ImGuiP… in BeginCombo()
|