Searched refs:size_auto_fit (Results 1 - 2 of 2) sorted by relevance
/third_party/skia/third_party/externals/imgui/ |
H A D | imgui.cpp | 939 static bool UpdateWindowManualResize(ImGuiWindow* window, const ImVec2& size_auto_fit, int* border_held, int resize_grip_count, ImU32 resize_grip_col[4], const ImRect& visibility_rect); 5294 ImVec2 size_auto_fit = ImClamp(size_desired, size_min, ImMax(size_min, avail_size - style.DisplaySafeAreaPadding * 2.0f)); in CalcWindowAutoFitSize() local 5298 ImVec2 size_auto_fit_after_constraint = CalcWindowSizeAfterConstraint(window, size_auto_fit); in CalcWindowAutoFitSize() 5302 size_auto_fit.y += style.ScrollbarSize; in CalcWindowAutoFitSize() 5304 size_auto_fit.x += style.ScrollbarSize; in CalcWindowAutoFitSize() 5305 return size_auto_fit; in CalcWindowAutoFitSize() 5314 ImVec2 size_auto_fit = CalcWindowAutoFitSize(window, size_contents_ideal); in CalcWindowNextAutoFitSize() local 5315 ImVec2 size_final = CalcWindowSizeAfterConstraint(window, size_auto_fit); in CalcWindowNextAutoFitSize() 5408 static bool ImGui::UpdateWindowManualResize(ImGuiWindow* window, const ImVec2& size_auto_fit, int* border_held, int resize_grip_count, ImU32 resize_grip_col[4], const ImRect& visibility_rect) in UpdateWindowManualResize() argument 5451 size_target = CalcWindowSizeAfterConstraint(window, size_auto_fit); in UpdateWindowManualResize() 6000 const ImVec2 size_auto_fit = CalcWindowAutoFitSize(window, window->ContentSizeIdeal); Begin() local [all...] |
/third_party/mesa3d/src/imgui/ |
H A D | imgui.cpp | 1033 static void UpdateManualResize(ImGuiWindow* window, const ImVec2& size_auto_fit, int* border_held, int resize_grip_count, ImU32 resize_grip_col[4]); 4588 ImVec2 size_auto_fit = ImClamp(size_contents, size_min, ImMax(size_min, g.IO.DisplaySize - style.DisplaySafeAreaPadding * 2.0f)); in CalcSizeAutoFit() local 4592 ImVec2 size_auto_fit_after_constraint = CalcSizeAfterConstraint(window, size_auto_fit); in CalcSizeAutoFit() 4594 size_auto_fit.y += style.ScrollbarSize; in CalcSizeAutoFit() 4596 size_auto_fit.x += style.ScrollbarSize; in CalcSizeAutoFit() 4597 return size_auto_fit; in CalcSizeAutoFit() 4697 static void ImGui::UpdateManualResize(ImGuiWindow* window, const ImVec2& size_auto_fit, int* border_held, int resize_grip_count, ImU32 resize_grip_col[4]) in UpdateManualResize() argument 4734 size_target = CalcSizeAfterConstraint(window, size_auto_fit); in UpdateManualResize() 5065 const ImVec2 size_auto_fit = CalcSizeAutoFit(window, window->SizeContents); in Begin() local 5071 window->SizeFull.x = size_full_modified.x = size_auto_fit in Begin() [all...] |
Completed in 29 milliseconds