MCPcopy Create free account
hub / github.com/cmauri/eviacam / IsCursorOverNoClickButton

Method IsCursorOverNoClickButton

src/clickwindowcontroller.cpp:419–427  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

417}
418
419inline
420bool CClickWindowController::IsCursorOverNoClickButton(long x, long y)
421{
422 wxRect pos= m_pWindow->GetNoClickButton()->GetScreenRect();
423 if (y<= pos.GetBottom() && y>= pos.GetTop() && x>= pos.GetLeft() && x<= pos.GetRight())
424 return true;
425 else
426 return false;
427}
428
429void CClickWindowController::NotifyShowMainWindowClick ()
430{

Callers

nothing calls this directly

Calls 1

GetNoClickButtonMethod · 0.45

Tested by

no test coverage detected