| 1367 | } |
| 1368 | |
| 1369 | void PiuApplication_set_rotation(xsMachine* the) |
| 1370 | { |
| 1371 | PiuApplication* self = PIU(Application, xsThis); |
| 1372 | PiuView* view = (*self)->view; |
| 1373 | Poco poco = (*view)->poco; |
| 1374 | xsVars(1); |
| 1375 | xsVar(0) = xsReference((*view)->screen); |
| 1376 | xsSet(xsVar(0), xsID_rotation, xsArg(0)); |
| 1377 | poco->width = xsToInteger(xsGet(xsVar(0), xsID_width)); |
| 1378 | poco->height = xsToInteger(xsGet(xsVar(0), xsID_height)); |
| 1379 | PiuApplicationResize(self); |
| 1380 | } |
| 1381 | |
| 1382 | void PiuApplication_keyDown(xsMachine* the) |
| 1383 | { |
nothing calls this directly
no test coverage detected