0..3: corners (Lower-right, Lower-left, Unused, Unused) 4..7: borders (Top, Right, Bottom, Left)
| 4960 | // 0..3: corners (Lower-right, Lower-left, Unused, Unused) |
| 4961 | // 4..7: borders (Top, Right, Bottom, Left) |
| 4962 | ImGuiID ImGui::GetWindowResizeID(ImGuiWindow* window, int n) |
| 4963 | { |
| 4964 | IM_ASSERT(n >= 0 && n <= 7); |
| 4965 | ImGuiID id = window->ID; |
| 4966 | id = ImHashStr("#RESIZE", 0, id); |
| 4967 | id = ImHashData(&n, sizeof(int), id); |
| 4968 | return id; |
| 4969 | } |
| 4970 | |
| 4971 | // Handle resize for: Resize Grips, Borders, Gamepad |
| 4972 | // Return true when using auto-fit (double click on resize grip) |
nothing calls this directly
no test coverage detected