| 372 | } |
| 373 | |
| 374 | void PiuApplicationTouchIdle(PiuApplication* self) |
| 375 | { |
| 376 | xsIntegerValue count = (*self)->touchLinkCount; |
| 377 | xsIntegerValue index; |
| 378 | for (index = 0; index < count; index++) { |
| 379 | PiuTouchLink* link = (*self)->touchLinks[index]; |
| 380 | if ((*link)->index) { |
| 381 | PiuContent* content = (*link)->content; |
| 382 | if (content) { |
| 383 | PiuFlags touchFlag = 1 << index; |
| 384 | PiuTouchSample sample = &((*link)->samples[(*link)->index - 1]); |
| 385 | while (content) { |
| 386 | if ((*content)->touches & touchFlag) |
| 387 | PiuBehaviorOnTouchMoved(content, index, sample->x, sample->y, sample->ticks, link); |
| 388 | content = (PiuContent*)((*content)->container); |
| 389 | } |
| 390 | } |
| 391 | (*link)->index = 0; |
| 392 | } |
| 393 | } |
| 394 | } |
| 395 | |
| 396 | void PiuApplicationTouchMoved(PiuApplication* self, xsIntegerValue index, PiuCoordinate x, PiuCoordinate y, xsNumberValue ticks) |
| 397 | { |
no outgoing calls
no test coverage detected