| 438 | } |
| 439 | |
| 440 | void PiuScreenUnbind(void* it, PiuApplication* application, PiuView* view) |
| 441 | { |
| 442 | PiuScreen* self = (PiuScreen*)it; |
| 443 | txScreen* screen = (*self)->screen; |
| 444 | PiuScreenQuit(self); |
| 445 | DestroyWindow((*self)->window); |
| 446 | (*self)->control = NULL; |
| 447 | (*self)->window = NULL; |
| 448 | |
| 449 | delete (*self)->colorMatrix; |
| 450 | (*self)->colorMatrix = NULL; |
| 451 | delete (*self)->imageAttributes; |
| 452 | (*self)->imageAttributes = NULL; |
| 453 | delete (*self)->bitmap; |
| 454 | (*self)->bitmap = NULL; |
| 455 | mxDeleteMutex(&screen->workersMutex); |
| 456 | free(screen); |
| 457 | (*self)->screen = NULL; |
| 458 | PiuContentUnbind(it, application, view); |
| 459 | } |
| 460 | |
| 461 | void PiuScreen_create(xsMachine* the) |
| 462 | { |
nothing calls this directly
no test coverage detected