| 110 | } |
| 111 | |
| 112 | void PiuRoundRect_create(xsMachine* the) |
| 113 | { |
| 114 | PiuRoundRect* self; |
| 115 | xsVars(4); |
| 116 | xsSetHostChunk(xsThis, NULL, sizeof(PiuRoundRectRecord)); |
| 117 | self = PIU(RoundRect, xsThis); |
| 118 | (*self)->the = the; |
| 119 | (*self)->reference = xsToReference(xsThis); |
| 120 | xsSetHostHooks(xsThis, (xsHostHooks*)&PiuRoundRectHooks); |
| 121 | (*self)->dispatch = (PiuDispatch)&PiuRoundRectDispatchRecord; |
| 122 | (*self)->recordSize = PiuRecordSize(sizeof(PiuRoundRectRecord)); |
| 123 | (*self)->flags = piuVisible; |
| 124 | (*self)->corners = 0xF; |
| 125 | (*self)->radius = 8; |
| 126 | PiuContentDictionary(the, self); |
| 127 | PiuRoundRectDictionary(the, self); |
| 128 | PiuBehaviorOnCreate(self); |
| 129 | } |
| 130 | |
| 131 | void PiuRoundRect_get_corners(xsMachine* the) |
| 132 | { |
nothing calls this directly
no test coverage detected