================= ToWindowCoords ================= */
| 8579 | ================= |
| 8580 | */ |
| 8581 | void ToWindowCoords(float *x, float *y, windowDef_t *window) |
| 8582 | { |
| 8583 | if (window->border != 0) |
| 8584 | { |
| 8585 | *x += window->borderSize; |
| 8586 | *y += window->borderSize; |
| 8587 | } |
| 8588 | *x += window->rect.x; |
| 8589 | *y += window->rect.y; |
| 8590 | } |
| 8591 | |
| 8592 | /* |
| 8593 | ================= |
no outgoing calls
no test coverage detected