| 670 | } |
| 671 | |
| 672 | void 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 | |
| 685 | void PiuApplicationMouseExited(PiuApplication* self, PiuCoordinate x, PiuCoordinate y) |
| 686 | { |
no test coverage detected