Borders (Left, Right, Up, Down)
| 5777 | |
| 5778 | // Borders (Left, Right, Up, Down) |
| 5779 | ImGuiID ImGui::GetWindowResizeBorderID(ImGuiWindow* window, ImGuiDir dir) |
| 5780 | { |
| 5781 | IM_ASSERT(dir >= 0 && dir < 4); |
| 5782 | int n = (int)dir + 4; |
| 5783 | ImGuiID id = window->ID; |
| 5784 | id = ImHashStr("#RESIZE", 0, id); |
| 5785 | id = ImHashData(&n, sizeof(int), id); |
| 5786 | return id; |
| 5787 | } |
| 5788 | |
| 5789 | // Handle resize for: Resize Grips, Borders, Gamepad |
| 5790 | // Return true when using auto-fit (double-click on resize grip) |
nothing calls this directly
no test coverage detected