Borders (Left, Right, Up, Down)
| 6897 | |
| 6898 | // Borders (Left, Right, Up, Down) |
| 6899 | ImGuiID ImGui::GetWindowResizeBorderID(ImGuiWindow* window, ImGuiDir dir) |
| 6900 | { |
| 6901 | IM_ASSERT(dir >= 0 && dir < 4); |
| 6902 | int n = (int)dir + 4; |
| 6903 | ImGuiID id = window->ID; |
| 6904 | id = ImHashStr("#RESIZE", 0, id); |
| 6905 | id = ImHashData(&n, sizeof(int), id); |
| 6906 | return id; |
| 6907 | } |
| 6908 | |
| 6909 | // Handle resize for: Resize Grips, Borders, Gamepad |
| 6910 | // Return true when using auto-fit (double-click on resize grip) |
nothing calls this directly
no test coverage detected