Borders (Left, Right, Up, Down)
| 5353 | |
| 5354 | // Borders (Left, Right, Up, Down) |
| 5355 | ImGuiID ImGui::GetWindowResizeBorderID(ImGuiWindow* window, ImGuiDir dir) |
| 5356 | { |
| 5357 | IM_ASSERT(dir >= 0 && dir < 4); |
| 5358 | int n = (int)dir + 4; |
| 5359 | ImGuiID id = window->ID; |
| 5360 | id = ImHashStr("#RESIZE", 0, id); |
| 5361 | id = ImHashData(&n, sizeof(int), id); |
| 5362 | return id; |
| 5363 | } |
| 5364 | |
| 5365 | // Handle resize for: Resize Grips, Borders, Gamepad |
| 5366 | // Return true when using auto-fit (double click on resize grip) |
nothing calls this directly
no test coverage detected