Borders (Left, Right, Up, Down)
| 6251 | |
| 6252 | // Borders (Left, Right, Up, Down) |
| 6253 | ImGuiID ImGui::GetWindowResizeBorderID(ImGuiWindow* window, ImGuiDir dir) |
| 6254 | { |
| 6255 | IM_ASSERT(dir >= 0 && dir < 4); |
| 6256 | int n = (int)dir + 4; |
| 6257 | ImGuiID id = window->DockIsActive ? window->DockNode->HostWindow->ID : window->ID; |
| 6258 | id = ImHashStr("#RESIZE", 0, id); |
| 6259 | id = ImHashData(&n, sizeof(int), id); |
| 6260 | return id; |
| 6261 | } |
| 6262 | |
| 6263 | // Handle resize for: Resize Grips, Borders, Gamepad |
| 6264 | // Return true when using auto-fit (double-click on resize grip) |
nothing calls this directly
no test coverage detected