Searched refs:r_avoid (Results 1 – 2 of 2) sorted by relevance
/external/mesa3d/src/imgui/ |
D | imgui.cpp | 7022 …t ImVec2& size, ImGuiDir* last_dir, const ImRect& r_outer, const ImRect& r_avoid, ImGuiPopupPositi… in FindBestWindowPosForPopupEx() argument 7038 …if (dir == ImGuiDir_Down) pos = ImVec2(r_avoid.Min.x, r_avoid.Max.y); // Below, Toward R… in FindBestWindowPosForPopupEx() 7039 …if (dir == ImGuiDir_Right) pos = ImVec2(r_avoid.Min.x, r_avoid.Min.y - size.y); // Above, Toward R… in FindBestWindowPosForPopupEx() 7040 …if (dir == ImGuiDir_Left) pos = ImVec2(r_avoid.Max.x - size.x, r_avoid.Max.y); // Below, Toward L… in FindBestWindowPosForPopupEx() 7041 …if (dir == ImGuiDir_Up) pos = ImVec2(r_avoid.Max.x - size.x, r_avoid.Min.y - size.y); // Above,… in FindBestWindowPosForPopupEx() 7056 …float avail_w = (dir == ImGuiDir_Left ? r_avoid.Min.x : r_outer.Max.x) - (dir == ImGuiDir_Right ? … in FindBestWindowPosForPopupEx() 7057 …float avail_h = (dir == ImGuiDir_Up ? r_avoid.Min.y : r_outer.Max.y) - (dir == ImGuiDir_Down ? r_a… in FindBestWindowPosForPopupEx() 7061 …pos.x = (dir == ImGuiDir_Left) ? r_avoid.Min.x - size.x : (dir == ImGuiDir_Right) ? r_avoid.Max.x … in FindBestWindowPosForPopupEx() 7062 …pos.y = (dir == ImGuiDir_Up) ? r_avoid.Min.y - size.y : (dir == ImGuiDir_Down) ? r_avoid.Max.y … in FindBestWindowPosForPopupEx() 7087 ImRect r_avoid; in FindBestWindowPosForPopup() local [all …]
|
D | imgui_internal.h | 1396 …t ImVec2& size, ImGuiDir* last_dir, const ImRect& r_outer, const ImRect& r_avoid, ImGuiPopupPositi…
|