Searched refs:border_n (Results 1 - 2 of 2) sorted by relevance
/third_party/skia/third_party/externals/imgui/ |
H A D | imgui.cpp | 5372 static ImRect GetResizeBorderRect(ImGuiWindow* window, int border_n, float perp_padding, float thickness) in GetResizeBorderRect() argument 5377 if (border_n == ImGuiDir_Left) { return ImRect(rect.Min.x - thickness, rect.Min.y + perp_padding, rect.Min.x + thickness, rect.Max.y - perp_padding); } in GetResizeBorderRect() 5378 if (border_n == ImGuiDir_Right) { return ImRect(rect.Max.x - thickness, rect.Min.y + perp_padding, rect.Max.x + thickness, rect.Max.y - perp_padding); } in GetResizeBorderRect() 5379 if (border_n == ImGuiDir_Up) { return ImRect(rect.Min.x + perp_padding, rect.Min.y - thickness, rect.Max.x - perp_padding, rect.Min.y + thickness); } in GetResizeBorderRect() 5380 if (border_n == ImGuiDir_Down) { return ImRect(rect.Min.x + perp_padding, rect.Max.y - thickness, rect.Max.x - perp_padding, rect.Max.y + thickness); } in GetResizeBorderRect() 5470 for (int border_n = 0; border_n < resize_border_count; border_n++) in UpdateWindowManualResize() 5472 const ImGuiResizeBorderDef& def = resize_border_def[border_n]; in UpdateWindowManualResize() 5473 const ImGuiAxis axis = (border_n in UpdateWindowManualResize() [all...] |
/third_party/mesa3d/src/imgui/ |
H A D | imgui.cpp | 4684 static ImRect GetResizeBorderRect(ImGuiWindow* window, int border_n, float perp_padding, float thickness) in GetResizeBorderRect() argument 4688 if (border_n == 0) return ImRect(rect.Min.x + perp_padding, rect.Min.y - thickness, rect.Max.x - perp_padding, rect.Min.y + thickness); // Top in GetResizeBorderRect() 4689 if (border_n == 1) return ImRect(rect.Max.x - thickness, rect.Min.y + perp_padding, rect.Max.x + thickness, rect.Max.y - perp_padding); // Right in GetResizeBorderRect() 4690 if (border_n == 2) return ImRect(rect.Min.x + perp_padding, rect.Max.y - thickness, rect.Max.x - perp_padding, rect.Max.y + thickness); // Bottom in GetResizeBorderRect() 4691 if (border_n == 3) return ImRect(rect.Min.x - thickness, rect.Min.y + perp_padding, rect.Min.x + thickness, rect.Max.y - perp_padding); // Left in GetResizeBorderRect() 4747 for (int border_n = 0; border_n < resize_border_count; border_n++) in UpdateManualResize() 4750 ImRect border_rect = GetResizeBorderRect(window, border_n, grip_hover_inner_size, WINDOWS_RESIZE_FROM_EDGES_HALF_THICKNESS); in UpdateManualResize() 4751 ButtonBehavior(border_rect, window->GetID((void*)(intptr_t)(border_n in UpdateManualResize() [all...] |
Completed in 27 milliseconds