| 371 | } |
| 372 | |
| 373 | void XWindow::windowToScreen(S32& x, S32& y) { |
| 374 | XWindowPtr p = shared_from_this(); |
| 375 | |
| 376 | while (p) { |
| 377 | x += p->left; |
| 378 | y += p->top; |
| 379 | p = p->parent; |
| 380 | } |
| 381 | } |
| 382 | |
| 383 | void XWindow::screenToWindow(S32& x, S32& y) { |
| 384 | XWindowPtr p = shared_from_this(); |
no outgoing calls
no test coverage detected