Home
last modified time | relevance | path

Searched refs:ImRect (Results 1 – 4 of 4) sorted by relevance

/external/mesa3d/src/imgui/
Dimgui_internal.h61 struct ImRect; // An axis-aligned rectangle (2 points)
480 struct IMGUI_API ImRect struct
485ImRect() : Min(FLT_MAX,FLT_MAX), Max(-FLT_MAX,-FLT_MAX) {} in ImRect() argument
486ImRect(const ImVec2& min, const ImVec2& max) : Min(min), Max(max) {} in ImRect() argument
487ImRect(const ImVec4& v) : Min(v.x, v.y), Max(v.z, v.w) {} in ImRect() argument
488ImRect(float x1, float y1, float x2, float y2) : Min(x1, y1), Max(x2, y2) {} in ImRect() function
499 …bool Contains(const ImRect& r) const { return r.Min.x >= Min.x && r.Min.y >= Min.y && r… in Contains() argument
500 …bool Overlaps(const ImRect& r) const { return r.Min.y < Max.y && r.Max.y > Min.y && r… in Overlaps() argument
502 …void Add(const ImRect& r) { if (Min.x > r.Min.x) Min.x = r.Min.x; if (Min.y … in Add() argument
508 …void ClipWith(const ImRect& r) { Min = ImMax(Min, r.Min); Max = ImMin(Max, r.Max)… in ClipWith() argument
[all …]
Dimgui_widgets.cpp151 const ImRect clip_rect = window->ClipRect; in TextUnformatted()
180 ImRect line_rect(pos, pos + ImVec2(FLT_MAX, line_height)); in TextUnformatted()
214 ImRect bb(text_pos, text_pos + text_size); in TextUnformatted()
224 ImRect bb(text_pos, text_pos + text_size); in TextUnformatted()
321 …const ImRect value_bb(window->DC.CursorPos, window->DC.CursorPos + ImVec2(w, label_size.y + style.… in LabelTextV()
322 …const ImRect total_bb(window->DC.CursorPos, window->DC.CursorPos + ImVec2(w + (label_size.x > 0.0f… in LabelTextV()
358 …const ImRect bb(window->DC.CursorPos, window->DC.CursorPos + ImVec2(g.FontSize + (label_size.x > 0… in BulletTextV()
388 bool ImGui::ButtonBehavior(const ImRect& bb, ImGuiID id, bool* out_hovered, bool* out_held, ImGuiBu… in ButtonBehavior()
560 const ImRect bb(pos, pos + size); in ButtonEx()
615 const ImRect bb(window->DC.CursorPos, window->DC.CursorPos + size); in InvisibleButton()
[all …]
Dimgui.cpp1002 static ImRect GetViewportRect();
1025 static void NavProcessItem(ImGuiWindow* window, const ImRect& nav_bb, const ImGuiID id);
2329 …* text_display_end, const ImVec2* text_size_if_known, const ImVec2& align, const ImRect* clip_rect) in RenderTextClippedEx()
2357 …nst char* text_end, const ImVec2* text_size_if_known, const ImVec2& align, const ImRect* clip_rect) in RenderTextClipped()
2458 void ImGui::RenderNavHighlight(const ImRect& bb, ImGuiID id, ImGuiNavHighlightFlags flags) in RenderNavHighlight()
2470 ImRect display_rect = bb; in RenderNavHighlight()
2550 NavRectRel[0] = NavRectRel[1] = ImRect(); in ImGuiWindow()
2595 ImGuiID ImGuiWindow::GetIDFromRectangle(const ImRect& r_abs) in GetIDFromRectangle()
2621 void ImGui::SetNavIDWithRectRel(ImGuiID id, int nav_layer, const ImRect& rect_rel) in SetNavIDWithRectRel()
2673 …window->NavRectRel[nav_layer] = ImRect(window->DC.LastItemRect.Min - window->Pos, window->DC.LastI… in SetFocusID()
[all …]
Dimgui_draw.cpp2995 void ImGui::RenderRectFilledRangeH(ImDrawList* draw_list, const ImRect& rect, ImU32 col, float x_st… in RenderRectFilledRangeH()