| 561 | } |
| 562 | |
| 563 | void PiuView_onTouchEnded(xsMachine* the) |
| 564 | { |
| 565 | PiuView* self = PIU(View, xsThis); |
| 566 | PiuApplication* application = (*self)->application; |
| 567 | if (!application) return; |
| 568 | xsIntegerValue index = xsToInteger(xsArg(0)); |
| 569 | PiuCoordinate x = xsToPiuCoordinate(xsArg(1)); |
| 570 | PiuCoordinate y = xsToPiuCoordinate(xsArg(2)); |
| 571 | xsNumberValue ticks = xsToNumber(xsArg(3)); |
| 572 | // (*self)->updating = 1; |
| 573 | // (*self)->idleTicks = (PiuTick)ticks; |
| 574 | PiuApplicationTouchEnded(application, index, x, y, ticks); |
| 575 | PiuApplicationAdjust(application); |
| 576 | // (*self)->updating = 0; |
| 577 | // PiuViewUpdate(self, application); |
| 578 | PiuApplicationIdleCheck(application); |
| 579 | // (*self)->idleTicks = 0; |
| 580 | } |
| 581 | |
| 582 | void PiuView_onTouchMoved(xsMachine* the) |
| 583 | { |
nothing calls this directly
no test coverage detected