OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
xsrc
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:r_avoid
(Results
1 - 2
of
2
) sorted by relevancy
/xsrc/external/mit/MesaLib/dist/src/imgui/
imgui.cpp
7020
//
r_avoid
= the rectangle to avoid (e.g. for tooltip it is a rectangle around the mouse cursor which we want to avoid. for popups it's a small point around the cursor.)
7022
ImVec2 ImGui::FindBestWindowPosForPopupEx(const ImVec2& ref_pos, const ImVec2& size, ImGuiDir* last_dir, const ImRect& r_outer, const ImRect&
r_avoid
, ImGuiPopupPositionPolicy policy)
7025
//GImGui->OverlayDrawList.AddRect(
r_avoid
.Min,
r_avoid
.Max, IM_COL32(255,0,0,255));
7038
if (dir == ImGuiDir_Down) pos = ImVec2(
r_avoid
.Min.x,
r_avoid
.Max.y); // Below, Toward Right (default)
7039
if (dir == ImGuiDir_Right) pos = ImVec2(
r_avoid
.Min.x,
r_avoid
.Min.y - size.y); // Above, Toward Right
7040
if (dir == ImGuiDir_Left) pos = ImVec2(
r_avoid
.Max.x - size.x,
r_avoid
.Max.y); // Below, Toward Lef
7087
ImRect
r_avoid
;
local
7096
ImRect
r_avoid
= ImRect(window->Pos.x - 1, window->Pos.y - 1, window->Pos.x + 1, window->Pos.y + 1);
local
7104
ImRect
r_avoid
;
local
[
all
...]
/xsrc/external/mit/MesaLib.old/dist/src/imgui/
imgui.cpp
7020
//
r_avoid
= the rectangle to avoid (e.g. for tooltip it is a rectangle around the mouse cursor which we want to avoid. for popups it's a small point around the cursor.)
7022
ImVec2 ImGui::FindBestWindowPosForPopupEx(const ImVec2& ref_pos, const ImVec2& size, ImGuiDir* last_dir, const ImRect& r_outer, const ImRect&
r_avoid
, ImGuiPopupPositionPolicy policy)
7025
//GImGui->OverlayDrawList.AddRect(
r_avoid
.Min,
r_avoid
.Max, IM_COL32(255,0,0,255));
7038
if (dir == ImGuiDir_Down) pos = ImVec2(
r_avoid
.Min.x,
r_avoid
.Max.y); // Below, Toward Right (default)
7039
if (dir == ImGuiDir_Right) pos = ImVec2(
r_avoid
.Min.x,
r_avoid
.Min.y - size.y); // Above, Toward Right
7040
if (dir == ImGuiDir_Left) pos = ImVec2(
r_avoid
.Max.x - size.x,
r_avoid
.Max.y); // Below, Toward Lef
7087
ImRect
r_avoid
;
local
7096
ImRect
r_avoid
= ImRect(window->Pos.x - 1, window->Pos.y - 1, window->Pos.x + 1, window->Pos.y + 1);
local
7104
ImRect
r_avoid
;
local
[
all
...]
Completed in 45 milliseconds
Indexes created Thu Jul 30 00:24:59 UTC 2026