| 460 | } |
| 461 | |
| 462 | void PiuScroller_create(xsMachine* the) |
| 463 | { |
| 464 | PiuScroller* self; |
| 465 | xsVars(4); |
| 466 | xsSetHostChunk(xsThis, NULL, sizeof(PiuScrollerRecord)); |
| 467 | self = PIU(Scroller, xsThis); |
| 468 | (*self)->the = the; |
| 469 | (*self)->reference = xsToReference(xsThis); |
| 470 | xsSetHostHooks(xsThis, (xsHostHooks*)&PiuScrollerHooks); |
| 471 | (*self)->dispatch = (PiuDispatch)&PiuScrollerDispatchRecord; |
| 472 | (*self)->recordSize = PiuRecordSize(sizeof(PiuScrollerRecord)); |
| 473 | (*self)->flags = piuVisible | piuContainer; |
| 474 | PiuContentDictionary(the, self); |
| 475 | PiuContainerDictionary(the, self); |
| 476 | PiuScrollerDictionary(the, self); |
| 477 | PiuBehaviorOnCreate(self); |
| 478 | } |
| 479 | |
| 480 | void PiuScroller_get_constraint(xsMachine* the) |
| 481 | { |
nothing calls this directly
no test coverage detected