Borders (Left, Right, Up, Down)
| 6810 | |
| 6811 | // Borders (Left, Right, Up, Down) |
| 6812 | ImGuiID ImGui::GetWindowResizeBorderID(ImGuiWindow* window, ImGuiDir dir) |
| 6813 | { |
| 6814 | IM_ASSERT(dir >= 0 && dir < 4); |
| 6815 | int n = (int)dir + 4; |
| 6816 | ImGuiID id = window->DockIsActive ? window->DockNode->HostWindow->ID : window->ID; |
| 6817 | id = ImHashStr("#RESIZE", 0, id); |
| 6818 | id = ImHashData(&n, sizeof(int), id); |
| 6819 | return id; |
| 6820 | } |
| 6821 | |
| 6822 | // Handle resize for: Resize Grips, Borders, Gamepad |
| 6823 | // Return true when using auto-fit (double-click on resize grip) |
nothing calls this directly
no test coverage detected