| /xsrc/external/mit/MesaLib.old/dist/src/imgui/ |
| H A D | imgui_internal.h | 61 struct ImRect; // An axis-aligned rectangle (2 points) 480 struct IMGUI_API ImRect struct 485 ImRect() : Min(FLT_MAX,FLT_MAX), Max(-FLT_MAX,-FLT_MAX) {} function in struct:ImRect 486 ImRect(const ImVec2& min, const ImVec2& max) : Min(min), Max(max) {} function in struct:ImRect 487 ImRect(const ImVec4& v) : Min(v.x, v.y), Max(v.z, v.w) {} function in struct:ImRect 488 ImRect(float x1, float y1, float x2, float y2) : Min(x1, y1), Max(x2, y2) {} function in struct:ImRect 499 bool Contains(const ImRect& r) const { return r.Min.x >= Min.x && r.Min.y >= Min.y && r.Max.x <= Max.x && r.Max.y <= Max.y; } 500 bool Overlaps(const ImRect& r) const { return r.Min.y < Max.y && r.Max.y > Min.y && r.Min.x < Max.x && r.Max.x > Min.x; } 502 void Add(const ImRect& r) { if (Min.x > r.Min.x) Min.x = r.Min.x; if (Min.y > r.Min.y) Min.y = r.Min.y; if (Max.x < r.Max.x) Max.x = r.Max.x; if (Max.y < r.Max.y) Max.y = r.Max.y; } 508 void ClipWith(const ImRect [all...] |
| H A D | imgui_widgets.cpp | 151 const ImRect clip_rect = window->ClipRect; 180 ImRect line_rect(pos, pos + ImVec2(FLT_MAX, line_height)); 214 ImRect bb(text_pos, text_pos + text_size); 224 ImRect bb(text_pos, text_pos + text_size); 321 const ImRect value_bb(window->DC.CursorPos, window->DC.CursorPos + ImVec2(w, label_size.y + style.FramePadding.y*2)); 322 const ImRect total_bb(window->DC.CursorPos, window->DC.CursorPos + ImVec2(w + (label_size.x > 0.0f ? style.ItemInnerSpacing.x : 0.0f), style.FramePadding.y*2) + label_size); 358 const ImRect bb(window->DC.CursorPos, window->DC.CursorPos + ImVec2(g.FontSize + (label_size.x > 0.0f ? (label_size.x + style.FramePadding.x*2) : 0.0f), ImMax(line_height, label_size.y))); // Empty text doesn't add padding 388 bool ImGui::ButtonBehavior(const ImRect& bb, ImGuiID id, bool* out_hovered, bool* out_held, ImGuiButtonFlags flags) 560 const ImRect bb(pos, pos + size); 615 const ImRect b [all...] |
| H A D | imgui.cpp | 1002 static ImRect GetViewportRect(); 1025 static void NavProcessItem(ImGuiWindow* window, const ImRect& nav_bb, const ImGuiID id); 2329 void ImGui::RenderTextClippedEx(ImDrawList* draw_list, const ImVec2& pos_min, const ImVec2& pos_max, const char* text, const char* text_display_end, const ImVec2* text_size_if_known, const ImVec2& align, const ImRect* clip_rect) 2357 void ImGui::RenderTextClipped(const ImVec2& pos_min, const ImVec2& pos_max, const char* text, const char* text_end, const ImVec2* text_size_if_known, const ImVec2& align, const ImRect* clip_rect) 2458 void ImGui::RenderNavHighlight(const ImRect& bb, ImGuiID id, ImGuiNavHighlightFlags flags) 2470 ImRect display_rect = bb; 2550 NavRectRel[0] = NavRectRel[1] = ImRect(); 2595 ImGuiID ImGuiWindow::GetIDFromRectangle(const ImRect& r_abs) 2621 void ImGui::SetNavIDWithRectRel(ImGuiID id, int nav_layer, const ImRect& rect_rel) 2673 window->NavRectRel[nav_layer] = ImRect(windo [all...] |
| H A D | imgui_draw.cpp | 2995 void ImGui::RenderRectFilledRangeH(ImDrawList* draw_list, const ImRect& rect, ImU32 col, float x_start_norm, float x_end_norm, float rounding)
|
| /xsrc/external/mit/MesaLib/dist/src/imgui/ |
| H A D | imgui_internal.h | 61 struct ImRect; // An axis-aligned rectangle (2 points) 480 struct IMGUI_API ImRect struct 485 ImRect() : Min(FLT_MAX,FLT_MAX), Max(-FLT_MAX,-FLT_MAX) {} function in struct:ImRect 486 ImRect(const ImVec2& min, const ImVec2& max) : Min(min), Max(max) {} function in struct:ImRect 487 ImRect(const ImVec4& v) : Min(v.x, v.y), Max(v.z, v.w) {} function in struct:ImRect 488 ImRect(float x1, float y1, float x2, float y2) : Min(x1, y1), Max(x2, y2) {} function in struct:ImRect 499 bool Contains(const ImRect& r) const { return r.Min.x >= Min.x && r.Min.y >= Min.y && r.Max.x <= Max.x && r.Max.y <= Max.y; } 500 bool Overlaps(const ImRect& r) const { return r.Min.y < Max.y && r.Max.y > Min.y && r.Min.x < Max.x && r.Max.x > Min.x; } 502 void Add(const ImRect& r) { if (Min.x > r.Min.x) Min.x = r.Min.x; if (Min.y > r.Min.y) Min.y = r.Min.y; if (Max.x < r.Max.x) Max.x = r.Max.x; if (Max.y < r.Max.y) Max.y = r.Max.y; } 508 void ClipWith(const ImRect [all...] |
| H A D | imgui_widgets.cpp | 151 const ImRect clip_rect = window->ClipRect; 180 ImRect line_rect(pos, pos + ImVec2(FLT_MAX, line_height)); 214 ImRect bb(text_pos, text_pos + text_size); 224 ImRect bb(text_pos, text_pos + text_size); 321 const ImRect value_bb(window->DC.CursorPos, window->DC.CursorPos + ImVec2(w, label_size.y + style.FramePadding.y*2)); 322 const ImRect total_bb(window->DC.CursorPos, window->DC.CursorPos + ImVec2(w + (label_size.x > 0.0f ? style.ItemInnerSpacing.x : 0.0f), style.FramePadding.y*2) + label_size); 358 const ImRect bb(window->DC.CursorPos, window->DC.CursorPos + ImVec2(g.FontSize + (label_size.x > 0.0f ? (label_size.x + style.FramePadding.x*2) : 0.0f), ImMax(line_height, label_size.y))); // Empty text doesn't add padding 388 bool ImGui::ButtonBehavior(const ImRect& bb, ImGuiID id, bool* out_hovered, bool* out_held, ImGuiButtonFlags flags) 560 const ImRect bb(pos, pos + size); 615 const ImRect b [all...] |
| H A D | imgui.cpp | 1002 static ImRect GetViewportRect(); 1025 static void NavProcessItem(ImGuiWindow* window, const ImRect& nav_bb, const ImGuiID id); 2329 void ImGui::RenderTextClippedEx(ImDrawList* draw_list, const ImVec2& pos_min, const ImVec2& pos_max, const char* text, const char* text_display_end, const ImVec2* text_size_if_known, const ImVec2& align, const ImRect* clip_rect) 2357 void ImGui::RenderTextClipped(const ImVec2& pos_min, const ImVec2& pos_max, const char* text, const char* text_end, const ImVec2* text_size_if_known, const ImVec2& align, const ImRect* clip_rect) 2458 void ImGui::RenderNavHighlight(const ImRect& bb, ImGuiID id, ImGuiNavHighlightFlags flags) 2470 ImRect display_rect = bb; 2550 NavRectRel[0] = NavRectRel[1] = ImRect(); 2595 ImGuiID ImGuiWindow::GetIDFromRectangle(const ImRect& r_abs) 2621 void ImGui::SetNavIDWithRectRel(ImGuiID id, int nav_layer, const ImRect& rect_rel) 2673 window->NavRectRel[nav_layer] = ImRect(windo [all...] |
| H A D | imgui_draw.cpp | 2995 void ImGui::RenderRectFilledRangeH(ImDrawList* draw_list, const ImRect& rect, ImU32 col, float x_start_norm, float x_end_norm, float rounding)
|