MCPcopy Create free account
hub / github.com/Moddable-OpenSource/moddable / PiuApplicationMouseEntered

Function PiuApplicationMouseEntered

modules/piu/All/piuApplication.c:672–683  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

670}
671
672void PiuApplicationMouseEntered(PiuApplication* self, PiuCoordinate x, PiuCoordinate y)
673{
674 PiuContent* current = (*(*self)->dispatch->hit)(self, x, y);
675 (*self)->hover = current;
676 while (current) {
677 if (PiuBehaviorOnMouseID(current, xsID_onMouseEntered, x, y))
678 break;
679 current = (PiuContent*)((*current)->container);
680 }
681 (*self)->mouse.x = x;
682 (*self)->mouse.y = y;
683}
684
685void PiuApplicationMouseExited(PiuApplication* self, PiuCoordinate x, PiuCoordinate y)
686{

Callers 2

PiuWindowProcFunction · 0.85

Calls 1

PiuBehaviorOnMouseIDFunction · 0.85

Tested by

no test coverage detected