| 421 | } |
| 422 | |
| 423 | bool CUIWindow::HasChildMouseHandler() |
| 424 | { |
| 425 | WINDOW_LIST::reverse_iterator it = m_ChildWndList.rbegin(); |
| 426 | |
| 427 | for (; it != m_ChildWndList.rend(); ++it) |
| 428 | { |
| 429 | if ((*it)->m_bClickable) |
| 430 | { |
| 431 | Frect wndRect = (*it)->GetWndRect(); |
| 432 | if (wndRect.in(cursor_pos)) |
| 433 | return true; |
| 434 | } |
| 435 | } |
| 436 | |
| 437 | return false; |
| 438 | } |
| 439 | |
| 440 | void CUIWindow::OnMouseMove() {} |
| 441 |
nothing calls this directly
no test coverage detected