MCPcopy Create free account
hub / github.com/WallBreaker2/op / HasButton

Method HasButton

tests/test_support.cpp:596–602  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

594}
595
596bool MouseEventWindow::HasButton(UINT message, long x, long y) const {
597 for (const auto &event : button_events) {
598 if (event.message == message && event.x == x && event.y == y)
599 return true;
600 }
601 return false;
602}
603
604void MouseEventWindow::ResetCounts() {
605 left_down = 0;

Callers 1

TESTFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected