| 542 | } |
| 543 | |
| 544 | void PiuView_onTouchBegan(xsMachine* the) |
| 545 | { |
| 546 | PiuView* self = PIU(View, xsThis); |
| 547 | PiuApplication* application = (*self)->application; |
| 548 | if (!application) return; |
| 549 | xsIntegerValue index = xsToInteger(xsArg(0)); |
| 550 | PiuCoordinate x = xsToPiuCoordinate(xsArg(1)); |
| 551 | PiuCoordinate y = xsToPiuCoordinate(xsArg(2)); |
| 552 | xsNumberValue ticks = xsToNumber(xsArg(3)); |
| 553 | // (*self)->updating = 1; |
| 554 | // (*self)->idleTicks = (PiuTick)ticks; |
| 555 | PiuApplicationTouchBegan(application, index, x, y, ticks); |
| 556 | PiuApplicationAdjust(application); |
| 557 | // (*self)->updating = 0; |
| 558 | // PiuViewUpdate(self, application); |
| 559 | PiuApplicationIdleCheck(application); |
| 560 | // (*self)->idleTicks = 0; |
| 561 | } |
| 562 | |
| 563 | void PiuView_onTouchEnded(xsMachine* the) |
| 564 | { |
nothing calls this directly
no test coverage detected