| 293 | } |
| 294 | |
| 295 | void PiuApplicationStopContent(PiuApplication* self, void* it) |
| 296 | { |
| 297 | PiuIdleLink* link = it; |
| 298 | PiuIdleLink* former = NULL; |
| 299 | PiuIdleLink* current = (*self)->idleChain; |
| 300 | while (current) { |
| 301 | if (current == link) { |
| 302 | link = PiuContentUseIdle(current)->idleLink; |
| 303 | PiuContentUseIdle(current)->idleLink = NULL; |
| 304 | if (former) |
| 305 | PiuContentUseIdle(former)->idleLink = link; |
| 306 | else |
| 307 | (*self)->idleChain = link; |
| 308 | if ((*self)->idleLoop == current) |
| 309 | (*self)->idleLoop = link; |
| 310 | break; |
| 311 | } |
| 312 | former = current; |
| 313 | current = PiuContentUseIdle(current)->idleLink; |
| 314 | } |
| 315 | PiuViewReschedule((*self)->view); |
| 316 | } |
| 317 | |
| 318 | void PiuApplicationTouchBegan(PiuApplication* self, xsIntegerValue index, PiuCoordinate x, PiuCoordinate y, xsNumberValue ticks) |
| 319 | { |
no test coverage detected