Borders (Left, Right, Up, Down)
| 6716 | |
| 6717 | // Borders (Left, Right, Up, Down) |
| 6718 | ImGuiID ImGui::GetWindowResizeBorderID(ImGuiWindow* window, ImGuiDir dir) |
| 6719 | { |
| 6720 | IM_ASSERT(dir >= 0 && dir < 4); |
| 6721 | int n = (int)dir + 4; |
| 6722 | ImGuiID id = window->ID; |
| 6723 | id = ImHashStr("#RESIZE", 0, id); |
| 6724 | id = ImHashData(&n, sizeof(int), id); |
| 6725 | return id; |
| 6726 | } |
| 6727 | |
| 6728 | // Handle resize for: Resize Grips, Borders, Gamepad |
| 6729 | // Return true when using auto-fit (double-click on resize grip) |
nothing calls this directly
no test coverage detected