MCPcopy Create free account
hub / github.com/OGSR/OGSR-Engine / HasChildMouseHandler

Method HasChildMouseHandler

ogsr_engine/xrGame/ui/UIWindow.cpp:423–438  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

421}
422
423bool 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
440void CUIWindow::OnMouseMove() {}
441

Callers

nothing calls this directly

Calls 4

rbeginMethod · 0.80
rendMethod · 0.80
GetWndRectMethod · 0.80
inMethod · 0.80

Tested by

no test coverage detected