You should never need those functions. Always use GetCursorScreenPos() and GetContentRegionAvail()! They are bizarre local-coordinates which don't play well with scrolling.
| 11705 | // You should never need those functions. Always use GetCursorScreenPos() and GetContentRegionAvail()! |
| 11706 | // They are bizarre local-coordinates which don't play well with scrolling. |
| 11707 | ImVec2 ImGui::GetContentRegionMax() |
| 11708 | { |
| 11709 | return GetContentRegionAvail() + GetCursorScreenPos() - GetWindowPos(); |
| 11710 | } |
| 11711 | |
| 11712 | ImVec2 ImGui::GetWindowContentRegionMin() |
| 11713 | { |
nothing calls this directly
no outgoing calls
no test coverage detected