| 95 | } |
| 96 | |
| 97 | PiuBoolean PiuBehaviorOnMouseID(void* it, xsIdentifier id, PiuCoordinate x, PiuCoordinate y) |
| 98 | { |
| 99 | PiuBoolean result = 0; |
| 100 | PiuContent* content = it; |
| 101 | if ((*content)->behavior) { |
| 102 | xsBeginHost((*content)->the); |
| 103 | xsVars(2); |
| 104 | xsVar(0) = xsReference((*content)->behavior); |
| 105 | if (xsFindResult(xsVar(0), id)) { |
| 106 | xsVar(1) = xsReference((*content)->reference); |
| 107 | result = (PiuBoolean)xsToBoolean(xsCallFunction3(xsResult, xsVar(0), xsVar(1), xsPiuCoordinate(x), xsPiuCoordinate(y))); |
| 108 | } |
| 109 | xsEndHost((*content)->the); |
| 110 | } |
| 111 | return result; |
| 112 | } |
| 113 | |
| 114 | void PiuBehaviorOnTouchID(void* it, xsIdentifier id, xsIntegerValue index, PiuCoordinate x, PiuCoordinate y, double ticks, PiuTouchLink* link) |
| 115 | { |
no outgoing calls
no test coverage detected