| 618 | } |
| 619 | |
| 620 | void PiuContentUnbind(void* it, PiuApplication* application, PiuView* view) |
| 621 | { |
| 622 | PiuContent* self = it; |
| 623 | #ifdef piuGPU |
| 624 | PiuSkin* skin = (*self)->skin; |
| 625 | if (skin) |
| 626 | PiuSkinUnbind(skin, application, view); |
| 627 | #endif |
| 628 | #ifdef piuPC |
| 629 | if ((*application)->hover == self) |
| 630 | (*application)->hover = NULL; |
| 631 | #endif |
| 632 | if ((*application)->focus == self) |
| 633 | PiuApplicationSetFocus(application, NULL); |
| 634 | if ((*self)->flags & piuIdling) |
| 635 | PiuApplicationStopContent((*self)->application, self); |
| 636 | (*self)->application = NULL; |
| 637 | } |
| 638 | |
| 639 | void PiuContentUpdate(void* it, PiuView* view, PiuRectangle area) |
| 640 | { |
no test coverage detected